OAK-2335 - IndexPlanner does not return plan for mixin based queries

A nt:based based rule should be applicable for all cases

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1644383 13f79535-47bb-0310-9956-ffa450edef68
OAK-2333: SegmentMK startup slow with large journals
Scan the journal.log backwards

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1644389 13f79535-47bb-0310-9956-ffa450edef68
OAK-2296 - Update sql2.txt test to account for name property presence in non test nodes

Adapt the test queries to add isdescendantnode restriction to ensure only test generated data is checked against

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1644397 13f79535-47bb-0310-9956-ffa450edef68
OAK-2296 - Update sql2.txt test to account for name property presence in non test nodes

Enable the testcase again

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1644398 13f79535-47bb-0310-9956-ffa450edef68
OAK-2336: NodeDocument.getNodeAtRevision() may read too many revisions

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