Gracefully handle invalid chunks in HttpSocket

When invalid chunks are detected we should assume the server is
incorrect and handle the remaining content as a single large chunk.

Refs #5140
Use name() instead of hand quoting sequence names.

By using name() we can easily accomodate postgres sequences that exist
out side of sequences.

Fixes #4168
Prevent zero only lines from being emptied
Merge pull request #5202 from ndm2/email-zero-only-lines-fix

Prevent zero only lines from being emptied
Bugfix for: Memcached Engine segfaults with memcached client version < 2.0.0

Fixes #5028
Merge pull request #5204 from tersmitten/memcached-engine-segfaults-with-memcached-client-version-200

Bugfix for: Memcached Engine segfaults with memcached client version < 2.0.0
Merge pull request #5196 from cakephp/issue-5140

Gracefully handle invalid chunks in HttpSocket
Fix mistake with previous commit.

I forgot to put the correct variable into the query like a doofus.

Refs #4168
Add test for css() and script() with the same resource identifier
BC fix for css() and script() with identical resource names
Merge pull request #5205 from rchavik/2.6-fix-html-helper-regression

2.6 Fix html helper regression
Enable sslmode for PostgreSQL connections

By default, PHP 5.5 and PostgreSQL PDO will not allow SSL connections. This adds the default of "allow", but also the user may override the setting to "require" or any of the other potential values. 

See: http://php.net/manual/en/function.pg-connect.php
Update database.php.default to include sslmode
Add sslmode support for postgres.

While 2.6 is in RC this pull request was open well before that, and
I simply forgot to merge it in.

Refs #5173
Fix file_map being regenerated on every request.

A mistake a few months ago caused the file_map to always be regenerated
as Configure::write() would cause both Configure and Hash to be loaded,
invalidating the file map. By entering bootstrap mode earlier we can
avoid that.

Refs #5229
Merge pull request #5239 from cakephp/issue-5229

Fix file_map being regenerated on every request.
PHPUnit can be included as a phar file.

No need to install phpunit in order to run unit tests.  Simply place
'phpunit.phar' in the vendors folder.
remove space
Merge pull request #5248 from larryb82/phpunit_as_phar

PHPUnit can be included as a phar file.
Make the version option function as intended.

The version option is documented but does not work. While this 'breaks'
behavior, it also fixes what I think is a more important issue.

Refs #5234