OAK-989 Query parser doesn't decode paths
OAK-994 XPath to SQL-2 conversion error for "element(..)"

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1519928 13f79535-47bb-0310-9956-ffa450edef68
OAK-989 Query parser doesn't decode paths (test case)

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