More progress on criteria normalization, made it through all top-level stuff now.  Amongst a few assorted things, this commit includes the compatibility errors for the sum, average, min, max, and groupBy criteria clauses.
More progress on criteria normalization, made it through all top-level stuff now.  Amongst a few assorted things, this commit includes the compatibility errors for the sum, average, min, max, and groupBy criteria clauses.

luislobo/waterline,balderdashy/waterline