Replace intval() with int typecasts
Merge branch '2.6' into 3.0

Conflicts:
	lib/Cake/Console/Command/AclShell.php
	lib/Cake/Console/Command/Task/ControllerTask.php
	lib/Cake/Console/Command/Task/ModelTask.php
	lib/Cake/Console/Command/Task/PluginTask.php
	lib/Cake/Console/Command/Task/ProjectTask.php
	lib/Cake/Controller/Component/CookieComponent.php
	lib/Cake/Controller/Component/PaginatorComponent.php
	lib/Cake/Model/Datasource/Database/Mysql.php
	lib/Cake/Model/Datasource/Database/Postgres.php
	lib/Cake/Model/Datasource/Database/Sqlite.php
	lib/Cake/Model/Datasource/Database/Sqlserver.php
	lib/Cake/Model/Datasource/DboSource.php
	lib/Cake/Model/Model.php
	lib/Cake/Test/Case/Model/ModelWriteTest.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Behavior/TestPluginPersisterTwoBehavior.php
	lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAuthors.php
	lib/Cake/Utility/CakeTime.php
	lib/Cake/Utility/Set.php
	lib/Cake/View/Helper/FormHelper.php
	lib/Cake/View/Helper/JsHelper.php
	lib/Cake/View/Helper/PaginatorHelper.php
	src/Cache/Engine/ApcEngine.php
	src/Cache/Engine/WincacheEngine.php
	src/Cache/Engine/XcacheEngine.php
	src/Shell/Task/ExtractTask.php
	src/Utility/Hash.php
	tests/Fixture/TranslateWithPrefixFixture.php
	tests/TestCase/Error/DebuggerTest.php
	tests/test_app/Plugin/Company/TestPluginThree/src/Model/Table/TestPluginThreeCommentsTable.php
	tests/test_app/TestApp/Model/Behavior/SluggableBehavior.php
Fix CS errors and use correct exceptions
Fix address not being inflected correctly.

The unification of the uninflected rules caused address(es)? to be
inflected incorrectly. Removing that special case seems like the best
option.
Merge remote-tracking branch 'origin/2.6' into 3.0

Conflicts:
	app/Config/Schema/i18n.php
	app/Config/Schema/sessions.php
	app/View/Layouts/default.ctp
	app/View/Layouts/error.ctp
	app/View/Layouts/flash.ctp
	app/View/Layouts/js/default.ctp
	app/View/Layouts/rss/default.ctp
	app/View/Pages/home.ctp
	lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp
	lib/Cake/Controller/Component/AuthComponent.php
	lib/Cake/Controller/Controller.php
	lib/Cake/Model/Datasource/Database/Postgres.php
	lib/Cake/Model/Datasource/DboSource.php
	lib/Cake/Routing/Dispatcher.php
	lib/Cake/Test/Case/Log/Engine/ConsoleLogTest.php
	lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
	lib/Cake/Test/Case/Routing/DispatcherTest.php
	lib/Cake/Test/Case/Utility/CakeTimeTest.php
	lib/Cake/Test/Case/View/Helper/FormHelperTest.php
	lib/Cake/Test/test_app/View/Layouts/flash.ctp
	lib/Cake/Utility/CakeTime.php
	lib/Cake/View/Helper/FormHelper.php
	src/Network/Email/Email.php
	src/Template/Error/fatal_error.ctp
	tests/TestCase/Network/Email/EmailTest.php
	tests/TestCase/Network/mocks.php
	tests/TestCase/View/ViewTest.php
	tests/test_app/Plugin/TestPlugin/src/Shell/Task/ZergTask.php

Also fix small issue with textarea fields where they would have an
additional type attribute.