OAK-2261 - Enable support for NodeType based indexing rules (WIP)

Modified LuceneIndex also to switch to IndexingRule

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1640694 13f79535-47bb-0310-9956-ffa450edef68
OAK-2276 - Support for index format version

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