This commit adds tests for the module loader and registry of icinga2-web. It mainly registers event handlers and calls custom enable/disable functions refs #3753