bot: add configuration method for bot

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
irclog: divide into two modules and support config

daemon.go: run a irc bot and collect msg into database
server.go: query data from database and show the web pages

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>