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.
Another PR, but maybe move the sampling code to storage/memory/sampling?