Fixes corrupted CakeRequests when a $_GET value contains "://"
Added unittest for REQUEST_URI with multiple FQDNs.
Partially revert default niceShortFormat

In 9fa531d6e3a3d0291ea36ccd9f0b9f2ab1d9f11b the default niceShortFormat
was changed, which has been interpreted as a regression in #3533.

This change partially reverts the previous change and tries to strike
a balance between the old behavior and new.

Refs #3533
Merge pull request #1073 from cakephp/issue-3533

Partially revert default niceShortFormat

The changes introduced in 2.2 dramatically changed the output from 2.1, this change attempts to be a compromise between the 2.1 format and the 2.2 format.

Fixes #3533
Fixing expected value from find when it results in failure.
When a behavior callback (eg: beforeFind) stops the event, find will return null. False is really never returned from find().
Follow redirects when fetching XML files.

Previously file_get_contents followed redirects, restore that behavior.
See fb275c5fa257c98f85883115ae12dbf5671094e1
Fix space between function + parenthesis.
Merge pull request #1039 from bfanger/master

Fixes an issue with urls as GET parameters
Fix coding standards and save a function call.
Allow afterFind() to fully remove an associated record.

By returnning array() or unsetting the 0'th result an afterFind
callback should be able to fully remove data from the results.

Fixes #3541
Merge branch 'master' of git://github.com/cakephp/cakephp