Add internal memory stats.
Refactor for major performance improvements.

These changes focus on statgram parsing and frequency counting. The effort it
takes to parse a datagram is about 20-30% of what it was before, with similar
improvements in the rate of objects malloc'ed.
Remove day bucket from frequency stats.
Release v1.1.3.