Revert previous changes.

Adding this parameter was a mistake. Remove it.
Rebalance where URL normalization happens in AuthComponent.

Make URL's not include the base path when storing them in the session.
This makes future redirection simpler. When URL's are an array use
Router::url() on them.

Fixes #3916
Pages controller should render 404 on missing view file
use a simpler rewrite rule

The capture group isn't used - so don't captuer it
There are no get args in the rewrite rule so there's no need to
request appending the existing get args - they are unmodified.
Merge pull request #1417 from cakephp/feature/2.4-simpler-rewrite

use a simpler rewrite rule
Merge pull request #1416 from majna/2.4-pages

Pages controller should render 404 on missing view file
Merge branch 'master' into 2.4

Conflicts:
	lib/Cake/Controller/Component/AuthComponent.php
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 pull request #1419 from ataylor32/fix-helper-test

Fix the "testAssetUrlNoRewrite" test
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().
Merge pull request #1410 from Phally/2.x-3814

LH#3814 CakeNumber::toPercentage() should return percentage
Correct off by one error.

Refs #3914
ability to provide custom strings for timeAgoInWords()
wording
provide ability for rounding - closes #1986
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.