Use module manager bootstrapper in event manager.

The event manager doesn't need a module itself, but it's using the bootstrapper to check availability of the module manager.
Fix error handling in module manager and event manager.

There were some assertion bugs left over.
Implement ready-check in event manager natives.