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

* Set primaryType for runtime create NodeStates
* Use property name as node name unless its not suitable to be used i.e. in relative prop name case or regEx

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