OAK-631: SegmentMK: Implement garbage collection

Use memory mapping to access already written entries in TarWriter
Improve the cache handling in SegmentTracker

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