Added selectGroup() method to models. For #37
Fixes to get old subquery mapping working. For #37
Added/fixed mapping for query-of-query relations. For #37
Added escape() to wildcards, query-of-queries, and subqueries. For #37