If "send-signal" is set as command, a signal with the repo info will be send.
This allows a more granular processing of current the hook.
Fixed silly inverted logical error.
Added providing_args=hook=hook, info=info, repo=repo, user=user, request=request for signal sending.
no message
Fiddling around ...
Removing "hook".
Still fiddling.
Send-signal, payload if hook does not exit and cleanup.

* So, if "send-signal" is set in the hook.path field, a signal will be send with the repo, info, user and request. This allows to process the hook in an attached python method instead of a command /shell script that has to have the correct mode etc.

* The payload will be passed if hook does not exist.

* Cleanup from fiddling.
Providing an example for the signal processing.