Added support to cross origin requests
Fixed code for PHP 5.2
Changed tests to support PHP 5.2 :(
Fixed CS
Fixed doc description
Added option to allowed headers
Merge branch 'master' into 2.5

Conflicts:
	lib/Cake/VERSION.txt
Log errors instead of calling trigger_error()
Merge pull request #2727 from rchavik/2.5-remove-acl-trigger-errors

Log errors instead of calling trigger_error()
Merge pull request #2692 from jrbasso/2.5-cors

Added support to cross origin requests
Starting to refactor all the contain logic into a separate object, it is
big enough to be its own class and was strating to get hard to follow
Add Table alias before primarykeys for Table::get()

If get() method is used with contain there is a risk of having a integrity constraint violation :

SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous
Edited test associated with that fix
Merge pull request #2735 from Grafikart/3.0-fix-table-get

Add Table alias before primarykeys for Table::get()
Moving more code into EagerLoader
Improving class readability
Moving more code around so tests can start passing
More refactoring to make tests pass, also cleaning up EagerLoader to do
less useless looping
Fixing more failing tests
Paginator can now use string or simple arrays for "order

"order" => "Posts.id" wasn't use by the paginator
It was expecting [key => order, key => order]