Add support for table.column.toQuery()

Add tests to support the behavior.

This allows you to do the following:

```js
table.column.toQuery().text//  "table"."column"
```

Works with column.as('otherName') and .count() and .distinct()