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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1634792 13f79535-47bb-0310-9956-ffa450edef68
OAK-1724 - Enable copying of Lucene index to local file system for read queries

Handle the deletion of old index content post reindex

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