Use config interfaces where possible.

Change-Id: I5f140e89bfb8c57804d0a500bbc9f5c18555b0e9
Depends-On: Iaabedda2fa68c4e5562bb069dcdf15fa0c3beeea
Reviewed-on: http://gerrit.dmdirc.com/2767
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>