Update default config for metadata cache.

* Enable connection metadata caching by default. Having it off can cause
  really poor performance on some MySQL configurations.
* Crank up the default cache duration to 2 minutes, so the metadata
  cache lasts longer.

Refs cakephp/cakephp#3446
Add longer caching duration when in debug=false mode.

This restores behavior that was present in 2.x where the cache duration
would extend for a very long time when debug=0.

Refs cakephp/cakephp#3446
Use ! instead of == false.
Fixed doc block
Merge pull request #54 from cakephp/orm-caching

Improve ORM caching
Added note for innodb_stats_on_metadata in config

This implements the comment in https://github.com/cakephp/cakephp/issues/3446#issuecomment-42645891
Fixing a couple derps
Merge pull request #55 from lorenzo/master

Added note for innodb_stats_on_metadata in config
Add mcrypt and intl extension traffic lights, rename Cake to CakePHP
Rename Cake to CakePHP in unsuccessful database connection
Merge pull request #56 from bcrowe/hotfix-ext-checks

Add mcrypt and intl extension traffic lights, rename Cake to CakePHP
Update the app bootstrap to use new filters features.
Use short array syntax for Inflector example in bootstrap
Merge pull request #57 from bcrowe/inflector-short-array

Use short array syntax for Inflector example in bootstrap
Merge branch 'master' of https://github.com/cakephp/app
Use short names for filters.

This helps keep the bootstrap terse and if people find the few
additional calls to App::className() expensive it is an easy thing to
change in the future.
Add ControllerFactoryFilter.
Correct issue with assets and query params under PHP CLI Server

If you try to access an asset file with a query param (For example asset.timestamp is enabled) when running under the PHP CLI server then CakePHP will try to serve that url as a CakePHP route rather than an asset file.
Merge pull request #59 from dakota/patch-1

Correct issue with assets and query params under PHP CLI Server
Merge pull request #58 from markstory/middleware-events

Middleware events