Factor out common push logic

Here is some common push logic. It makes it marginally easier to set up a client to a data set and push to it. It helps my next pull request.

It should be merged AFTER https://github.com/alphagov/performanceplatform-collector/pull/93