Corrected issue handling joins/parts

It seems not all networks use the same formatting for for join, part,
and quit messages. Added some options and some exception handling to
avoid it taking down the whole bot on error.