Remove dependency on leveldb for stats to address CPU spikes

Update to use an in-memory tailable-capped array instead of leveldb for stats. This address the performance issues related to trimming stats from leveldb. Now stats are automatically trimmed as the tailable-capped array only holds a preset number of items.