OAK-2261 - Enable support for NodeType based indexing rules

Pass on the 'root' NodeState to IndexDefinition. This would later be used to create NodeTypeManager for evaluating NodeType hierarchy

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