test for sub-selects (one pending)
emit Squash for each SELECT (Fixes #132)
Merge pull request #141 from mossprescott/squash-selects

Squash each select