csv template download with data.

This lets the use download all measurements for an entity in the format of a template that they can then tweak and (re)upload
this feels like it should move to core.match, but can stay like this for now