Update xmppbot.py

added error and debug logging functions
added error on loading feature fail