Remove misc and webutil.

Function insert-measurements is now a reduce function that returns min
and max dates used to update sensor metadata.
Move k.h.data.api to k.h.api.
Improve updating of sensor_metadata for calcs.
Removing doall as per sw1nn's comment.
Merge pull request #455 from MastodonC/feature/misc-tidy-up

Remove misc and webutil.