Reworked querying
First proper tests for Select statements
- predicates no longer have parsed values - parsing happens later
- fixed ordering of processing of selects