Serializing Closure fails

If controller logs some exception `CakeLog::error(new Exception('error'));` then DebugKit fails to serialize and save request, because event manager of ToolbarComponent has closures as event handlers.

This commit moves closures to methods and uses $event to get event name.