Checkpoint for Julius.

DONOTMERGE - Buggy in-memory implementation.

MOST BUT NOT ALL TESTS PASS.  NAIVE IMPLEMENTATION: 6-20x performance
improvement for existing workflow.

There is no layercake.

The basic tests for the MetricPersistence have been extracted and re-applied
to both LevelDB and Skip List.