Implement log compaction
Merge pull request #75 from goinstant/jbowes/snapshot

Implement log compaction