Moved tracing code to trace.c. Added separate trace functions for ChannelList and NickList, use them when dumping server info.