Moving some code around to extract useful bits out of query
Renaming table -> repository
Extracting reusable logic from Query, QueryCacher and ResultSetDecorator
out into the Datasource namespace
Removing ORM specific code out of QueryTrait
Removing method alias, there is no need o create it so early at this
point
Moving the remaining ORM specific code out of QueryTrait
Moved more code that can be used genericaly by any query
Fixing failing test case
Fixed CS errors
Merge pull request #2877 from cakephp/3.0-query-abstraction

3.0 query abstraction