Handle REQUEST_URI with domain names properly.

Don't depend on parse_url() as it fails with corrupted urls.  Instead
use FULL_BASE_URL to prepare an absolute path.

Fixes #3270
Removed spaces at the end of lines.
Show the last 200 queries instead of the first 200.

Fixes #3273
Add missing import

Refs GH-877
Remove trailing whitespace from comments

See http://groups.google.com/d/topic/cakephp-core/fuHTYMKVJno/discussion
Merge pull request #904 from ataylor32/remove-trailing-whitespace

Remove trailing whitespace from comments
Fix tests that fail in PHPUnit 3.7

Add skips for PHPUnit 3.6. Mock object expects required clones in 3.6,
but fail in 3.7 with clones.
Use id() as VERSION doesn't exist in phpunit 3.6
Merge branch 'master' into 2.3

Conflicts:
	lib/Cake/Event/CakeEventManager.php
	lib/Cake/VERSION.txt
	lib/Cake/View/ViewBlock.php
Fix missed use of VERSION.
Merge branch 'master' into 2.3
Try to make tests less fragile.
Swap isset() for array_key_exists()

Fixes #3283
allow ini files to have separators between sections for better readability

dump now makes spaces between sections in init files
Force field validation to use sha1

When using blowfish as your application's hashing strategy, form field
validation would fail horribly.  Forcing sha1 fixes this and restores
behavior consistent with 2.2.x

Fixes #3280
Fix issue with using contain() and query[contain]

When contain() and query['contain'] = array(...) were used together
the query['contain'] values where not respected.

Fixes #3287
Fix saveAssociated() with validate=first, atomic=false

When using the above options & validation errors on the associated
models, saving would not be aborted.

Fixes #3285
Merge branch 'master' into 2.3

Conflicts:
	lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
Remove bad test.
Fixed problems with resetSequence() not using the correct sequence name
in postgres