refactor - separate data and http for measurements.

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