Merge pull request #4210 from darxmac/hotfix/treebehavior-recover-where-is

change where() to use IN statement
Merge pull request #4209 from markstory/issue-4171

Add templates option to PaginatorHelper::numbers() and fix failing tests
Add Query import to generated table class files.

This will prevent a pretty common error where people forget to import
the query class.

Fixes #3963
Update docs - add missing option.
Fixed CS error
Fixes argument order
Merge pull request #4211 from darxmac/hotfix/test-correct-arguement-order

Fixes argument order for assertEquals in RouterTest
Update travis config to speed up builds.
Merge pull request #4212 from ADmad/3.0-travis

Update travis config to speed up builds.
Add test case for aliased vendor namespaced plugin.
Merge pull request #4214 from ADmad/3.0-i18n-plugin

Add test case for aliased vendor namespaced plugin.
Fix afterFind() called twice with hasMany relationship

It occurs when a model and the children models are related to a same model.
For example, such as the following:

* User hasMany Comment
* User hasMany Article
* Article hasMany Comment
Fix different format of $results in afterFind

Refs #2529

As of this commit, we can get consistent format of $resutls in afterFind.
And we can keep backward compatibility if Model::$useConsistentAfterFind is set to false.
Merge pull request #4206 from dereuromark/3.0-assert

3.0 Consistent asserts in TestSuite
Making sure the Cache::remember() funciton is not hit more than once

Getting translators was still calling Cache everytime
Add tests for url generated with named route.
Allow specifying route name when using url array.
Optimized Time::i18nFormat() for when it is run multiple times
Refactor code to allow passing url fragmenent for named routes.
Update docblock.