Refactor GitOps poller
Relates to gitlab-org/gitlab#323708 (closed).
Refactoring needed to make it simpler to implement the kas
part of the above issue. Now the poller has only one responsibility - to poll and call the callback with new configuration.
Edited by Mikhail Mazurskiy