OAK-2147 [Ordered Index] Indexing on large content is slow

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0@1630089 13f79535-47bb-0310-9956-ffa450edef68
OAK-2167: Last revision recover incomplete

Merge revisions 1630061 and 1630084 from trunk

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