OAK-593: Segment-based MK

Merge SegmentRootBuilder into SegmentNodeBuilder and simplify the code

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