Sql parsing

Much better sql parsing for postgis. Used @mjuniper code from composer to build actual support for Like queries.