Fix ignored ids for belongsToMany relations

Fix ids ignored by marshaller for belongsToMany relations.
Fix maxlength for manual type set and add textarea maxlength support.
fix failling test on Jenkins after ee1e270

This test is failling build on 2.5, 2.6 and 3.0 since #4477
Merge pull request #4594 from cakephp/2.5-fix-jks-build

fix failling test on Jenkins after ee1e270
wording
Merge pull request #3476 from dereuromark/2.6-maxlength

2.6 maxlength
Trim whitespace from columns before checking for operators.

Fixes #4599
AuthComponent::login() returning deprecated method

Changed $this->loggedIn() to $this->user(), as per the PHPDOC for loggedIn() at line 817
Fixed type-casting for AuthComponent::login()
Merge pull request #4604 from sutt0n/patch-1

AuthComponent::login() returning deprecated method
Merge branch 'master' into 2.6
Check whether the filter key is a valid class name before assuming that value is class settings
Merge pull request #4614 from wisoot/patch-1

Fix dispatch filters that have regular string as a key
Add intl email test.
Merge pull request #4624 from cakephp/master-email

Add intl email test.

Closes #4623
Cs fixes
Improved doc block
Re(added) closing tag
Merge pull request #4645 from tersmitten/cs-fixes

Cs fixes
force LF EOL in working directory