OAK-1048: Unify node type management in the query index impls

Add a node type predicate class and use it to simplify PropertyIndexEditor

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