DI the DNS Plugin (and fix DCOP)

Change-Id: I153235a279a27db91de14b453aa4f3cbe92b86a2
Reviewed-on: http://gerrit.dmdirc.com/3182
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager