Add channel_joined and channel_parted.

Remove hooks in _moddeinit.
Add event handlers for identify, register, drop, and sethost