Willie should call modules' shutdown() function when shutting down

* added collection of shutdown methods from registered module
* unregistering module causes shutdown to be called
* made irc.Bot class a new-style class so Willie can call its parent's quit() method
* added documentation