Allow qualified column names w/ aggregate functions

I bumped into a problem when attempting to generate something like COUNT('tablename'.'column').
Merge pull request #129 from janstice/patch-1

Allow qualified column names w/ aggregate functions