Automatically install hooks for scripts when repositories are loaded

Review Request #10046 — Created June 28, 2018 and submitted — Latest diff uploaded

Information

rb-gateway
master
b9a7eb7...

Reviewers

rb-gateway serve will now automatically install hook scripts for
repositories to trigger webhooks once the configuration has loaded.

A command to force re-install hook scripts has been added (rb-gateway reinstall-hooks).

Ran go fmt ./....
Ran make test.
Ran make integration-tests.