Started on MODE command support

Also some light reorganization, fixed an incorrectly specified message
handler for PART command (set to JOIN command handler, that's not
awkward or anything...)