to correctly return SET() type
Fix getMockForModel() using the incorrect datasource.

Because getMockForModel() does not go through the test datasource
injection in ClassRegistry::init() we need to duplicate the basics of
that logic here. Thankfully, we already have a mock so we can do that
datasource switching without reflection. Of course this means there will
be limitations to how/when this will work, but I feel those scenarios
can probably be solved by not using mocks, or by mocking out the
problematic methods. This set of changes makes getMockForModel() work
with secondary datasources, as one would expect it to do, but I'm not
sure it ever did.

Refs #4694
Fix PHPCS and PHP5.3 error.
Merge pull request #4867 from cakephp/issue-4694

Fix getMockForModel() using the incorrect datasource.
Fix Memcached test failures.

The Memcached extension does not provide enough information to PHP's
Reflection API to allow mock objects to be generated correctly. We'll
skip the affected tests until php-memcached-dev/php-memcached#126 has
been resolved.
Merge pull request #4891 from cakephp/fix-memcached-failures

Fix Memcached test failures.
Handle query string arguments in digest auth data.

Handle &, ? in digest auth data uri.

Refs #4908
Documentation correction
Merge pull request #4921 from dmromanov/patch-1

Documentation correction
Update .gitattributes

PDF is a common file that should not be modified.
Removing unrelated parameter in comment

That parameter doesn't exists in display() function (in fact is not a parameter) and is breaking the [CakePHP code standards]:https://github.com/cakephp/cakephp-codesniffer
Merge pull request #4947 from agarzon/patch-2

Removing unrelated parameter in comment
Fix views overwrite warning text
Merge pull request #4950 from bcrowe/fix-viewtask

Fix views overwrite warning text
Merge pull request #4944 from agarzon/patch-1

Update .gitattributes
Update FormHelper.php

disabled multiple checkbox input should not generate an enabled hidden input,
as it leads to saving empty data upon submission -> carrying the disabled attribute to the hidden input prevents this
fixing testcases + do not disable the hidden input on partial disables
Merge pull request #4975 from ptica/disabled-hidden-input

Disable the hidden input for multi checkbox inputs when inputs are disabled.
Add additional useful tests for autoLink()

These new tests cover an important case that could easily be missed in
the future. Links with URL's should not be re-linked.

Refs #4998
Relative paths should be created relative to pwd.

If create() is called with a relative directory and the path does not
exist, it should be created inside of the folder->pwd() and not inside
the process' cwd.

Refs #4990