This is not meant por public consumption (exposing SQL expressions is undesiderable)
Now the resolution aggregation parameter has the same meaning as in Torque (-torque-resolution in CartoCSS)
We're using the same aggregation queries for the Raster and Vector cases, so we don't need the class hierarchies used to handled them differently. AggregationProxy has been renamed to Aggregation