updates per issue 24 and associated bug fixes

Hi @whimboo 
I've re-packaged most of my earlier updates and more for issue 24 in this branch, in what I hope to be an easier to review package. It still includes a lot, but the only part that's not really issue 24 is fixing the existing stats, which otherwise crash the bot.
This version of the bot is currently running on #testdaybotTest, /msg _TestDayBot :adminhelp for admin commands. 
It should be fine to close my earlier pull request unmerged.
Thanks for your patience!

We don't want to greet people for the time being. We might bring back some functionality in cases no real person greets a newly joined person for a while. But that's nothing for now. Lets make the bot as much as possible silent in the channel.