Added `Statistics` to calculate basic statistics about the set of values.
Added `TopSamples` utility to store the top N objects with the highest priorities.
Implemented Statistics and TopStats into MemoryStats and DummyStats
interfaces.