Fix casting db expressions, add aggregates method
Merge branch 'master' of git://github.com/codemix/restyii