Extracting SQL functions to its own class to avoid function name
clashing
Using magic funciton __call to help create any arbitrary SQL function
Renaming Query::total() to Query::count()
Merge pull request #2354 from cakephp/3.0-query-functions

3.0 - Removing FunctionsTrait