Use a ModeManager for boolean chan modes.

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