Use (int) cast instead of intval() function for performance reasons and to unify it.
Take care of more int casts.
Manually correct remaining casts.
Merge pull request #4570 from cakephp/master-casting

Use (int) instead of intval() for performance reasons and to unify it.
Fix PHP flaw around intval with custom base.
Clarify octal input instead.
Wording.
Merge pull request #4572 from cakephp/master-fix-intval

PHP flaw around intval with custom base.
Fix Hash not returning correct value with special paths
When doing a Hash::insert() with a part of the path starting with a '0', Hash::get() returned null even if the same path was used.
Merge pull request #4575 from HavokInspiration/hash-insert-get-defect

Fix Hash::get() not returning values with special paths
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
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