Made invoker work with [$object, $method] callables
Added $app->before() and $app->after()