OAK-323: Column names aren't reported properly for "select * from [nodeType]" queries

Extend query parser to use proper type information to resolve wildcard columns

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