Wrap channel management in a utility class.

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