OAK-1965: Support for constraints like: foo = 'X' OR bar = 'Y'

Extend OrImpl and AndImpl to support more than two component constraints,
and use that mechanism for improved simplification.

Replace the getInMap() feature with more specific code in OrImpl, as that's
the only place where the functionality is needed.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1610723 13f79535-47bb-0310-9956-ffa450edef68
OAK-1965: Support for constraints like: foo = 'X' OR bar = 'Y'

The IN operator is handled as a separate constraint type

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