New feature: web hooks

`work-in-progress`

This PR adds new functionality to Codebrag allowing to define hooks on different internal events which are then propagated to external listeners (hosts).