lightirc: cleanup code a lot

* Fix some bugs with the user list
* Introduce LightChannel - this makes handling of channels a lot easier