Revert "Merge pull request #4405 from php-engineer/master-session-bugfix"

This reverts commit 5863adda424b3f0f513436176608ea376af1c294, reversing
changes made to 4c37cf6d4b9ed740ed157a8a5089c6b76914def4.

There was no real issue. The lack of session cookie in CLI makes writing
tests a bit tricky which caused the confusion. Refs #4405, #4451.
Update version number to 2.5.4
Update all @deprecated annotations

to adhere to the @deprecated <version> <description> format, where version and description are mandatory.
Add array cast for method_cache data.

Fixes #4186
console: don't use colored output if there's no TTY

This prevents ANSI escape codes and style tags showing up in
cron-jobs, pipes or redirects.
Merge pull request #4477 from mfn/mfn-console-output-isatty

console: don't use colored output if there's no TTY
Merge pull request #4463 from ravage84/deprecated-annotaions

Update all @deprecated annotations
Changed error message
Merge pull request #4507 from rochamarcelo/patch-2

Changed error message
Merge branch 'master' into 2.6

Conflicts:
	lib/Cake/Core/App.php
	lib/Cake/VERSION.txt