[ticket/13502] Handle callable functions/objects in controller resolver
* marc1706/ticket/13502:
[ticket/13502] Also cover passing object to resolver in tests
[ticket/13502] Test getArguments() method of controller resolver
[ticket/13502] Fix coding style
[ticket/13502] Controller resolver should handle callable functions and objects