Mend some logging code
Corrected quit function

See http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1_6 for reasoning.
In short, if no message is provided for quit, the default should be the
nickname.
Mended a number of tests, some misc stuff