Removed medians.
Updated documentation.
Downsample from previous granularity.

Instead of downsampling from highest granularity each time,
we now downsample from previous (one higher) granularity.
Also added tests for value downsamplers.
Fixed time downsampling.
Support append of downsampled datapoints.