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
Only bake HABTM associations for tables that exist.

bake often guesses wrong when it comes to habtm. Only add associations
we're highly confident of. This includes tables where the foreign table
also exists.

Refs #3532
Add support for --admin to bake controller all.

I missed this when originally implementing bake controller all.

Fixes #3536
Reduce duplication in code.

This will result in all tests being skipped when any of the required
models pre-exists.
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
Fixing the way to follow redirects when fetching XML files.
See: 689745d7054fb7adae1b1f1faad99945c1a65521
Update doc block.
Update helper usage to 2.x style in code examples
Added App::uses to the PluginAppController and PluginAppModel bake templates
removing extra newline in baked files
Merge branch 'master' of git://github.com/cakephp/cakephp