Attempts to fix database gone away errors and other issues

- Attempted to implement a ping function for the MySQL database that prevents it from going away and causing issues later
- Use a relative path in LibCIA/Message.py instead of a absolute one
- simplejson should be using the django settings file and not a hard coded url which today sends stuff nowhere.
- Rewrote the twisted bot_server.tac telnet console (which now also supporst ssh) to work with the latest version of Twisted