OAK-690: Enforce and clarify Root contract wrt. invalid Tree instances
Change Tree/Root contract such that Tree instances stay valid across save/refresh/rebase operations

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