Fix order in finderTreeList

Fixed missing order left (ASC) in the finderTreeList
add failing test to fix
Initial implementation of isAction().

Having a hook method will allow userland code to customize which methods
are exposed as an action.
Update AuthComponent to use new action handling methods.

Instead of using the old controller property authcomponent should use
the new features to check for valid methods.
Fix failing tests and remove PrivateActionException.

With isAction() handling private method access checks, we can't easily
distinguish between methods missing, and methods not having public
visibility. This error class is just cruft now.
Tests the find('treeList') method after move
fix whitespace
Merge pull request #4805 from fiblan/patch-2

Fix order in finderTreeList
Replace ReflectionMethod with is_callable checks.
Fix missing validation errors on associated ID property.

When reading errors off an association and the last property is
null/undefined the entity containing the missing property should be
used.

Fixes #4792
Remove additional is_callable checks.

People overriding isAction() will have to do it correctly.
Fix PHPCS error.
Merge pull request #4813 from cakephp/issue-4792

Fix missing validation errors on associated ID property.
Add pj() helper function.

The pj() function is helpful in interactive console scenarios, and
general debugging situations as well.

Refs #4791
Merge branch 'pj-function' into 3.0

This is a recreation of pull request #4791. The original pull request
was in a non-mergable state, and I felt it was easier to re-create the
work instead of dealing with tedious merge conflicts.
Merge branch '3.0' of github.com:cakephp/cakephp into 3.0
add _orignal to Entity and fix Counter cache update
Merge pull request #4811 from cakephp/controller-isaction

Controller isaction
fix PHPCS
Fix failing test cases and add missing classname.

Also make pj() not output when debug is off. This makes it work like
other debugging functions (pr, debug, stackTrace)

Refs #4791