Adds chat logger.

* You can turn specific logging feature on or off through conf/log.conf
* Added update_2013-10-21.sql for the needed tables and columns to use
the logger
* Changed chat logger slightly from last pull request.
* Made changed based off of suggestions from Exec and Xcelled.