Added support for joining channels

You can now add the channels key to the config to automatically
connect a number of channels. We do not yet keep track of what
channels we are in, this is probably the next thing to do.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>