Fix up the ThemeManager's static state and inject.

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