Enhance gossip

The first commit moves class "gossip" to its own source file. I don't think it belongs to
"main.go". The second commit adds new methods to "gossip" to make IRC commands
more easy to call.