Added regex support to Validation::mimeType().
Remove dead and unused code.
Fix temporary associations that replace fields not being restored.

When binding temporary associations, fields should be restored
in the afterFind as the association will have become unbound.

Fixes #2816
Fix incorrect assertion.
Fix uploadError validation rule to work with OS Win. Here the error is string, not integer.
Updated docblock.

BlowfishAuthenticate is deprecated.
handle loose % signs in __() function

While it's passed to sprintf and translation markers may contain
variable placeholders (%s, %d) that doesn't mean translators need to be
aware of all relevant rules. A % sign in a translation message shouldn't
cause a warning (and no return) it should be handled as a literal
percent sign.
Merge pull request #2589 from AD7six/handle-percent-translations

Handle percent symbol in translation functions
Merge pull request #2822 from dereuromark/master-validation

Fix uploadError validation rule
Merge branch 'master' into 2.5

Conflicts:
	lib/Cake/Model/Datasource/DboSource.php
Add depth to log().

Much like dump() it is handy to be able to control the depth variables
are dumped out when logged.

Refs #2834
Use simpler assertions.
2.x needs to be compatible with PHP<5.4
Merge pull request #2841 from cakephp/2.5-debugger-log

2.5 debugger log
Made mimetype check case insensitive.
Update MemcacheEngine.php

adding $limit=0 to clear function so it deletes all the keys for real
Merge pull request #2741 from ADmad/2.5-mimetype

Added regex support to Validation::mimeType().
Mark compatibility shims as deprecated.

Fixes #2845
Merge branch 'master' into 2.5
changed FormHelper::secure() and FormHelper::end() to support attributes in the hidden CSRF-protection tags that are being generated for SecurityComponent to allow specification of additional html attributes like HTML5s "form" attribute. This allows separation of Form instantiation/controls and form data - for instance within html tables

improved tests for testing against additional attributes for Form::secure()

improved tests for testing against additional attributes for Form::end()

removed array cast, fixed test

fixed docblock format

format

Fixed a bug, this won't work as some forms are just empty