Fix the "testAssetUrlNoRewrite" test

When running the test in the browser from somewhere other than
http://localhost (e.g. http://foo.dev), the test was failing.
Merge branch '2.4' into 3.0

Conflicts:
	app/webroot/index.php
	lib/Cake/Console/Command/Task/ExtractTask.php
	lib/Cake/Core/App.php
	lib/Cake/Network/Email/Email.php
	lib/Cake/Test/Case/Core/ObjectTest.php
	lib/Cake/Test/Case/Model/CakeSchemaTest.php
	lib/Cake/Test/Fixture/ArticleFixture.php
	lib/Cake/Test/Fixture/ArticlesTagFixture.php
	lib/Cake/Test/Fixture/AuthorFixture.php
	lib/Cake/Test/Fixture/CakeSessionFixture.php
	lib/Cake/Test/Fixture/PostFixture.php
	lib/Cake/Test/Fixture/TagFixture.php
	lib/Cake/Test/TestCase/Network/ResponseTest.php
	lib/Cake/Test/TestCase/TestSuite/ControllerTestCaseTest.php
Fix CS errors
Merge pull request #1419 from ataylor32/fix-helper-test

Fix the "testAssetUrlNoRewrite" test
Simplify the query used to describe tables in postgres.

Don't select columns we aren't going to use.
Moves code out of the try/catch blocks in the connect() methods.

That code wouldn't throw a PDOException, so having it in the
try/catch block is pointless. Moving it out makes it easier to
read.
Merge pull request #1420 from Phally/master-trycatcheverything

Moves code out of the try/catch block in Mysql::connect().
Correct off by one error.

Refs #3914
Fix being unable to sort on custom synthetic columns.

If a sort field whitelist is used we should trust its data and also
trust that the developer wanted what they asked for. This solves issues
where it was impossible to sort on synthetic columns added in custom
find types.

Fixes #3919
Ignore asset requests containing %2e in them.

urldecode URI's early to avoid issues with encoded `.` characters.
do not display page:1 or ?page=1 to avoid duplicate content in paginator helper output
Simplify whitelist logic.
fix test
Merge pull request #1429 from cakephp/2.4-timeagoinwords

fix test case
Fix pluralization of Objective.

Fixes #3921
Merge pull request #1427 from dereuromark/2.4-paginator-page1

fixes #700
Merge pull request #1428 from markstory/2.4-location

2.4 location
Update version number to 2.3.8
Merge branch 'master' into 2.4

Conflicts:
	lib/Cake/Test/Case/View/HelperTest.php
	lib/Cake/VERSION.txt
Merge remote-tracking branch 'origin/2.4' into 3.0

Conflicts:
	lib/Cake/Model/Datasource/Database/Mysql.php
	lib/Cake/Model/Datasource/Database/Postgres.php
	lib/Cake/Model/Datasource/Database/Sqlserver.php
	lib/Cake/Routing/Filter/AssetDispatcher.php
	lib/Cake/Test/Case/Routing/Filter/AssetDispatcherTest.php
	lib/Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php
	lib/Cake/Utility/Number.php
	lib/Cake/Utility/Time.php
	lib/Cake/View/Helper/PaginatorHelper.php