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.
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