sql: clean summary on select
sql: cleaner By on summaries of selects
sql: clean by sql generation and column reordering on selects

http://stackoverflow.com/questions/25914329/rearrange-columns-in-sqlalchemy-select-object/25932733#25932733
sql: Clean projection on select using _raw_columns
sql: clean mixing of by and count(table)
Merge pull request #652 from mrocklin/sql-fixes-3

Even more SQL fixes