formatting app::uses blocks (refs #2265)
fix the failing test case.
Moved exception throwing to after paging info it set for request.

This fixes the regression caused in 2096d3f632. When catching exception
thrown by PaginatorComponent::paginate() in controller, developer again
has access to paging info in request object.

Closes #2402
Merge pull request #2408 from ADmad/2.4-paginator-exception

Moved exception throwing to after paging info it set for request.

Fixes #2402
Fixed bug where deleteAll tried to delete same id multiple times.

Ensure find done in deleteAll only returns distinct ids. A wacky
combination of association and conditions can sometimes generate
multiple rows per id.
Merge pull request #2421 from ADmad/2.4-bugfix-deleteall

Fixed bug where deleteAll tried to delete same id multiple times.
Cast results of implementedEvents to an array.

This makes using mocks much easier with event listeners as they don't
need to provide a returnValue for implementedEvents.

Refs #2333
Update CakeEventManager.php

Cast resultados de implementedEvents a una matriz.

https://github.com/cakephp/cakephp/commit/e6f2c92005cfb5850159621da182f9b4f327fdd2
Merge pull request #2427 from EliuFlorez/patch-3

Cast implemented events to an array when detaching listeners.

This makes it much simpler to work with mocks, and avoids warnings caused by developer error.
Append / to the start/end of the mapResources prefix.

This makes the method easier to use and less error prone.

Fixes #2431
Check if the item is an array.
Fixed edge case which allowed login with empty password.

Ensure skipping call to FormAuthenticate::_checkFields() does not allow
logging in with empty password. Closes #2441.
Merge pull request #2444 from ADmad/2.4-auth-finduser

Fixed edge case which allowed login with empty password.
Fiexed error in CakeSession that would call start() in an infinite loop
when the session is marked as invalid
Add test to prove issues with deleteAll with $order set
Set 'order' to false to prevent issues with postgres

See: https://github.com/cakephp/cakephp/pull/2421#issuecomment-30074971
Ensuring session is configured before trying to destory it
Merge pull request #2450 from rchavik/2.4-delete-all-regression

2.4 delete all regression
Fixed failing test
Attempt to fix errors with postgres tests.