Pass emitter through to core so that it can be used in plugins

This is a dependency for https://github.com/Strider-CD/strider-runner-core/pull/1 to work correctly