Fix for #2247 | Use correct column when calculating next sequence value

See #2247 for more details.
Correctly identifier quote column names before adding them to queries.

Closes #2248
Merge branch 'postgres-sequence'

Merge changes for pull request #2248
Fix incorrectly encoded headers in MailTransport.

When encoded values are present in header fields, they need to have
newlines removed as leaving the newlines in place and interfere with
delivery on Qmail based SMTP servers.

Fixes #2209
Add missing return type
Merge pull request #2282 from bcrowe/hotfix-returnType

Add missing return type
Remove CRLF from To headers in MailTransport.

Like other header fields To should not contain CRLF.

Refs #2209
Fix formatting of decimal values when there is no fractionSymbol.

When a currency format does not include a fractionSymbol it should be
able to format fractional values.

Fixes #2253
Split existing tests up, and add tests for Router based image URL's

Refs #2233
Fix missing HTML encoding on URL's generated by Html->meta().

The input URL was not correctly handled as an asset URL and thus was
not correctly HTML or URL escaped. This created invalid HTML when
favicon URLs included query string arguments.

Refs #2233
Model.php PHPDoc Description: Chang afterFilter with afterFind
Merge pull request #2300 from cusspvz/patch-1

Model.php PHPDoc Description: Change afterFilter with afterFind
Try to make same comments for constructors.

Conflicts:
	lib/Cake/I18n/L10n.php
Remove @return from docblock (for __construct && __destruct methods)
Remove duplicated reference for behaviors in ClassRegistry

The 2nd key in the registry was to support persistModel which has long
since been removed. With this registry key not being used it can be
removed with reasonable safety.

Fixes #2306
Fix incorrect CSRF token fields when using postLink()

Creating a postLink after creating a GET form would result in the
incorrect fields being generated.

Fixes #2308
Merge pull request #2305 from kimegede/docblock-construct-destruct-return-void

Docblock construct destruct remove @return
Replaced all remaining license references to the Open Group Test Suite License with the MIT License
Merge pull request #2317 from ravage84/replace-ogtsl

Replaced all remaining license references to the Open Group Test Suite L...
Removed "PHP 5" from file header DocBlocks

This statement does not serve a purpose anymore.
In a long forgotten world it indicated the main version number of PHP which the code in the file was compatible to.
http://pear.php.net/manual/en/standards.sample.php
But since PHP 5.1 and later this is only marginally true.
Thus I propose to remove it from CakePHP.