Implemented lastinsertId and removed stub method "charset" from
Connection. After some research concluded it was better to only set the
charset at the beginning of connection and not change it on the fly.
Merge remote-tracking branch 'tigrang/3.0-query' into 3.0-database

Conflicts:
	App/Config/bootstrap.php
	lib/Cake/Model/Datasource/Database/Query.php
	lib/Cake/Test/TestCase/Model/Datasource/Database/ConnectionTest.php
	lib/Cake/Test/TestCase/Model/Datasource/Database/QueryTest.php
Merge remote-tracking branch 'cakephp/2.3' into 3.0

Conflicts:
	lib/Cake/Console/ConsoleErrorHandler.php
	lib/Cake/Console/Shell.php
	lib/Cake/Console/Templates/skel/View/Pages/home.ctp
	lib/Cake/Controller/Component/Acl/IniAcl.php
	lib/Cake/Controller/Component/EmailComponent.php
	lib/Cake/Controller/Component/SecurityComponent.php
	lib/Cake/Controller/Controller.php
	lib/Cake/Core/App.php
	lib/Cake/Core/Configure.php
	lib/Cake/Error/ExceptionRenderer.php
	lib/Cake/I18n/I18n.php
	lib/Cake/I18n/Multibyte.php
	lib/Cake/Model/Datasource/Session.php
	lib/Cake/Network/Request.php
	lib/Cake/Routing/Router.php
	lib/Cake/Test/Case/Core/AppTest.php
	lib/Cake/Test/Case/Log/CakeLogTest.php
	lib/Cake/Test/Case/Routing/RouterTest.php
	lib/Cake/Test/TestApp/View/Layouts/flash.ctp
	lib/Cake/Test/TestCase/Cache/Engine/MemcacheEngineTest.php
	lib/Cake/Test/TestCase/Console/Command/Task/ExtractTaskTest.php
	lib/Cake/Test/TestCase/Controller/Component/PaginatorComponentTest.php
	lib/Cake/Test/TestCase/Utility/TimeTest.php
	lib/Cake/Test/TestCase/View/Helper/FormHelperTest.php
	lib/Cake/TestSuite/TestSuiteCommand.php
	lib/Cake/Utility/Number.php
	lib/Cake/Utility/Time.php
	lib/Cake/Utility/Validation.php
	lib/Cake/View/View.php
	lib/Cake/basics.php
	lib/Cake/bootstrap.php
Merge branch '3.0' of github.com:cakephp/cakephp into 3.0

Conflicts:
	lib/Cake/I18n/I18n.php
	lib/Cake/Network/Request.php
	lib/Cake/Test/TestCase/Cache/Engine/MemcacheEngineTest.php
	lib/Cake/Test/TestCase/Controller/Component/PaginatorComponentTest.php
	lib/Cake/basics.php
	lib/Cake/bootstrap.php
Fixed ConnectionManager to use new datasources.php, dropped old database.php.default.
Syncing App to Skeleton App.
Fixed failing tests to reflect new config files.
Fixing errors home.
Changing references from core.php to new config files.
Merge remote-tracking branch 'origin/2.3' into 3.0

Conflicts:
	.travis.yml
	App/Config/Schema/i18n.php
	App/View/Pages/home.ctp
	lib/Cake/Console/Templates/skel/Config/Schema/i18n.php
	lib/Cake/Controller/ErrorController.php
	lib/Cake/I18n/Multibyte.php
	lib/Cake/Model/Validator/ValidationRule.php
	lib/Cake/Model/Validator/ValidationSet.php
	lib/Cake/Network/Http/HttpResponse.php
	lib/Cake/Network/Http/HttpSocket.php
	lib/Cake/Test/Case/Routing/DispatcherTest.php
	lib/Cake/Test/Case/Utility/StringTest.php
	lib/Cake/Test/TestApp/Plugin/TestPlugin/Controller/TestPluginAppController.php
	lib/Cake/Test/TestCase/Model/Validator/ValidationRuleTest.php
	lib/Cake/Utility/Security.php
	lib/Cake/View/View.php
Fix incorrect classname from 2.3
Remove commented out datasources config.

Use file_exists so build scripts don't have to use sed. This
also means we don't have additional setup instructions.
Start adding composer support

* Add app and framework composer files.
* Remove globals plugins & vendors directories, they will be unused
  once composer support is complete so remove them now.
* Remove the top level composer file.  It won't be used either.
Update app/config

We should only use CakePHP's autoloader if the App namespace
cannot already be autoloaded.
Consolidate unset()
Use constructor chaining to reduce code.
Fix paths and include composer autoload if it exists.
Add PHPUnit as a dev dependency.
Add README files to top level of each subtree split.
Rename Vendor -> vendor in files.