in memory storage

This is an implementation of in memory storage driver. It is basically a rewrite of statssum.go in container package.

Other changes is on the way.
This seems better. However, influxdb now does not support sampling. But I think we could just return most recent samples for influxdb right now.