Subquery alias support

Added .as() method for SELECT statements allowing to alias the subqueries.

Added tests for subquery alias
Merge branch 'subquery-alias'