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

Make index editor use the IndexRules

LuceneIndexEditor
* Move to IndexRule for determine what to be indexed and how it is to be indexed
* For each node create a Tree instance - Later they would be utilized to evaluate
   Conditions in indexing rule

IndexDefinition
* Move some of the relative property related logic to IndexRule based
* Make PropertyDefinition accessible from RelativeProperty - This would later be refactored once proper
   aggregation support would be added
* Compatibility Config
   * Always set propertyIndex to false for a fulltext index
   * Copy all the property config from existing property node to indexRule property node

PropertyDefinition
* Change getPropertyType -> getType in PropertyDefinition

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