Restructuring WHOIS reply

Rewritten WHOIS reply to allow multiple irc_rpl_whoischannels events before rendering the whois template. By doing this we get only one WHOIS event pr. WHOIS request instead of one for user, one for channel, ...

This will also help the avatar branch, because handling the correct event when sending internal WHOIS messages will be a lot smoother.