Make the prefix mode manager private.

Pass it in when needed.

Change-Id: I8709e9363bbd8f2811946839d03876c1308cf6d9
Reviewed-on: http://gerrit.dmdirc.com/3980
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Make user mode manager private.

Change-Id: I73277924a0d969daffca36f21f35dada42e2c3cf
Reviewed-on: http://gerrit.dmdirc.com/3982
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Start moving some constants into their own class.

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