[Plugins] Added support for hooks registratrion

##### Living TODO

- [x] Rebase
- [x] Review
- [x] Rename `Plugins` module to `HooksManager`
- [x] Use ruby objects instead of hashes
- [x] Changelog