OAK-2320 Wrong optimization for joins with ISDESCENDANTNODE conditions

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643800 13f79535-47bb-0310-9956-ffa450edef68
OAK-1907 Better cost estimates for traversal, property, and ordered indexes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643806 13f79535-47bb-0310-9956-ffa450edef68
OAK-1907 Better cost estimates for traversal, property, and ordered indexes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643807 13f79535-47bb-0310-9956-ffa450edef68
OAK-2131: Reduce usage of _lastRev

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643808 13f79535-47bb-0310-9956-ffa450edef68
OAK-2324: Remove dependency to MapDB

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643828 13f79535-47bb-0310-9956-ffa450edef68
OAK-2324: Remove dependency to MapDB

Remove unused imports

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1643830 13f79535-47bb-0310-9956-ffa450edef68
OAK-2325: Remove option to disable background operations

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