Split Github events plugin into a events emitter and a notifier.