Started adding support for chat logs
Merged master into chat-logs and fixed conflicts
Chat logging should work now
Updated README
Added a config entry to enable/disable chat logging
Some fixes for chat logs

It should work **properly** now
Make the path to the db a global variable
Fixex timestamps for chat logs
Merge branch 'chat-logs'