Refactor the way POSTs are validated and handled
Refactor the way POSTs are validated and handled

- split validation of data-set existence and authorization into two
  helpers
- rename _write_to_data_set to _append_to_data_set due to the fact that
  it's called by a POST, and we will implement a "set" (PUT) later.
- change signature of _append_to_data_set to take data as an argument,
  rather than the function extracting it from the global request object
  (side effect, meh)

alphagov/backdrop,alphagov/backdrop,alphagov/backdrop