(#114) - First simple compaction test
(#114) - Add generic compaction code

Implement compaction using adapter specific code:
* _removeDocRevisions
* _getRevisionTree
(#114) - Implement compaction in idb