DI the debug plugin.

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