OAK-2146: empty resultset for PropertyIndex and multi-value properties with mixed OR+AND
Changed to union from intersection.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1630299 13f79535-47bb-0310-9956-ffa450edef68
OAK-1990: Utility js methods to manage Oak data in Mongo

Add function to remove a subtree

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