refactor - separate data and http for measurements.

This moves stuff that's in the k.h.api.measurements ns into a new ns, k.h.data.measurements.