OAK-2198 - Add support for declaringNodeTypes to only index node with specific types

Specify generic type

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1635044 13f79535-47bb-0310-9956-ffa450edef68
OAK-2239 - Do not wrap LucenePropertyIndex with AggregateIndex

Moved the wrapping logic to provider implementation

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