Implement "AS" syntax

Also added two tests to build.select
Implement some common aggregate functions
Merge pull request #14 from uranusjr/usefuls

Implement "AS" syntax and some standard SQL functions