Fix datetime comparison in relative datetime functions.
Closes #2987,#3514
enforce a better email wrapping to send valid emails
Fix: Incorrect model being used as Controller::$modelClass

We cannot be sure that Controller::$uses have not been iterated, so
reset the array to use the first value.
Throw exceptions when invalid permission keys are used.

Silently 'failing' to save permissions is bad, throw exceptions instead.

Fixes #3851
Fix for ExtractTask does not check output directory (ticket 3852)
Output to stderr, not stdout
Merge pull request #1301 from tersmitten/extracttask-output-directory-bugfix

Fix for ExtractTask does not check output directory

Fixes #3852
Only try to use CakeErrorController if AppController exists.

This fixes missing error pages when there are parse errors in
AppController.

Fixes #3850
Fix issues with getting Xml as SimpleXmlElement and invalid Xml.

Fixes #3855
do not translate error message in test case
fix coding standard error
Fix typo variable name in _deleteDependent().

It's not a big deal but there was a typo in _deleteDependent() method. 

$savedAssociatons instead of $savedAssociations.
Merge pull request #1309 from damien-biasotto/patch-1

Fix typo variable name in _deleteDependent().
Fixed or removed some package/subpackage definitions to reflect directory structure

Lowercase cake instead of Cake
Tests instead of Test
Fixtures instead of Fixture
Renamed ...Controller package to ...View

Probably a leftover from splitting in https://github.com/cakephp/cakephp/commit/09e7f1d491764b92db367b3442d0a6363f9e88e4
Merge pull request #1311 from ravage84/patch-4

Fixed package name in docblock
Merge pull request #1312 from ravage84/package-fixes

Fixed or removed some package/subpackage definitions to reflect director...
Synced PHP version annotations

CakePHP seems to be just "PHP 5" as opposed to the PEAR header comment standard "PHP version 5"
http://pear.php.net/manual/en/standards.header.php
Merge pull request #1313 from ravage84/php-version-annotations

Synced PHP version annotations
Improved the DocBlocks and other code cleanup

Fixed @license tag, url comes first
Whitespace and other minor code cleanup
Added some docblocks