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

Compatibility support - Impilement logic to adapt existing index config to IndexRule based config
* If no declaredNodeType defined then existing 'properties' config is mapped to rule for type nt:base
* If declaredNodeType defined then non inheritable rule is defined for each nodeType

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1639963 13f79535-47bb-0310-9956-ffa450edef68
OAK-2270 - Resolve usage of ImmutableTree wrt OSGi constraints

Fix the embed-dependency tag expression

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