Cleanup - PHPDoc mismatches
Cleanup - Unused local variables
Cleanup - More PHPDoc mismatches
Cleanup - Undefined classes
exception's namespace strictly
Merge pull request #5112 from okonomi/3.0-docblock-namespace

3.0 exception's namespace strictly
Fix routing extensions leaking out of their scopes.

Each route builder should not leak extensions into other scopes. When
defining extensions in one route builder, they should not automatically
be available in other scopes. What we want to avoid is a plugin like
DebugKit adding `.json` extensions to all the application routes.

Refs #5089
Merge pull request #5114 from cakephp/issue-5089

Fix routing extensions leaking out of their scopes.
Cleanup - The aftermath

Cleaning up the mess I made (and some other stuff). Also made sure
that unsetting the email pattern, respectively validating using
`filter_var()` works properly.
Merge pull request #5111 from ndm2/3.0-cleanup

3.0 - Cleanup
Fix up mistake in Http\FormData

Before poking at the 0'th element make sure it exists.
Merge branch '3.0' into 3.0-reliable-beforefind

Conflicts:
	src/Database/Connection.php