feat(modules): allow function to be passed to __init__

This commit adds the ability to pass initialization functions to
__init__ in diagram-js module definitions. This allows users to
configure services in modules without exposing a named service.

Example:

{
__init__: [ function(eventBus) {
    eventBus.on('foo.bar', function() { ... });
} ]
}