Use a ModeManager for boolean user modes.

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