Remove stats in container handler

This PR cleans the code and let the manager use storage driver to get stats, samples and percentiles.

It also fixed a bug in memory package (along with two unit tests to reproduce the bug).
nit: For TODOs lets do: TODO(user): comment