OAK-631: SegmentMK: Implement garbage collection

Remember to follow also the reference graph of segments within the TarWriter
Allow old checkpoints to expire

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1584257 13f79535-47bb-0310-9956-ffa450edef68