Update phpunit command for Travis builds.
Add two new function helpers

get_classname() and is_method_callable(), see docs for more
informations.
Use get_classname() helper in Authority, ControllerResource and Parameters classes.
Use is_method_callable() helper in ControllerResource class.
Remove useless spaces in ControllerResource class.
Accurate mock expectations in ControllerResource tests.
Use andThrow(Exception) instead of andReturnUsing(closure) in tests.
Add tests for ControllerResource class.