OAK-155 Query: limited support for the deprecated JCR 1.0 query language Query.SQL (refactor to split parsing and SQL-2 generation)

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