remove @access and unnecessary $name
Updated Inflector's 'pluralize and singularize to correctly handle addisional words.
Updated InflectorTest to test new words.
Added more words to InflectorTest
Fixed indenting
Merge pull request #1412 from wernerhp/master

Inflector pluralize and singularize update
Correct documentation.

Options are traditionally above the @param block as it results in easier
to read API docs.
Fix downloading Ranges in files.

Correctly handle ranges that don't terminate at the end of the file.
Also reject invalid ranges as described in RFC-2616.

Thanks to Kim Biesbjerg for the initial patch.

Fixes #3914
Merge pull request #1408 from dereuromark/master-cleanup

remove @access and unnecessary $name
Introduce the `strip` argument to Router.

This allows callers to request that the basepath *not* be stripped off
when normalizing string URL's. This is important in AuthComponent when
handling redirect URL's as the redirect location could point to
a controller that shares a name with the base path.

Refs #3897
Refs #3916
Update AuthComponent to not strip when normalizing URLs.

Revert most of the changes done to fix #3897 originally and try
a different strategy of solving the base path issues and not breaking
apps running in a subdirectory.

Fixes #3916
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
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().
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.
Simplify whitelist logic.