Use where() when applying conditions on calculated fields

This is to address the issue when having() was using without
the field expression and causing the error about undefined
fields. This may also improve performance in SQL.
Merge pull request #370 from alexeyostapets/master

fix for fileupload
fix issue 345
allow overriding deafult options for pop-over
fix some syntax errors
DSQL - sum(*) is not allowed in SQL
typo
Merge pull request #371 from DarkSide666/patch-1

DSQL - sum(*) is not allowed in SQL
SQL_Model: count() and sum() rewrite
Merge pull request #372 from DarkSide666/patch-1

SQL_Model: count() and sum() rewrite
enable testing through atoum
Merge branch 'master' of github.com:atk4/atk4
fix
enable composer
fix path
enable dependency installation
fix syntax for travis
add atoum config.
add token
Model: add optional alias parameter to generic Model too

Controllers can ignore this parameter, but why not pass it to them - just in case they know how to deal with it :)