Add HooksRegistrationIntegrationTest

- Remove functional knowledge from initialization
- Add HookRegistrationIntegrationTest (see also [235][235])

[235]: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/235