OAK-637: Optimize SelectorImpl.evaluateTypeMatch()

Fix failing integration test.
The TCK expects the query engine to validate all node types used in selectors.

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