Remove misc and webutil.

Function insert-measurements is now a reduce function that returns min
and max dates used to update sensor metadata.
trim require to what is needed for this file