This adds a hook that will send in the $APP, action name and config vars. By adding this, we allow plugin creators to handle this kind of events as well. Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>