Fixed alias & user. Added tell module. Fixed some bugs:

* added a register so that modules can be notified when username cleanups
  happen due to aliases
* cleaned up some of the users methods. (may have forgot to change some
  things)
* added backend support for "batch" database queries. No easy way to
  access them though
* fixed bug with message length calc functions.
* fixed call bug with state
* some other minor typos and fixes.