Introduce an event bus.

Change-Id: I64cbc0e0395e8c214d54742e2d25562d1ce325c4
Reviewed-on: http://gerrit.dmdirc.com/2955
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager