Add hooks endpoints for Repo

- Add hooks for listing hooks
- Add createHook for creating a hook