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.