Added debug and error logging function.
Added basic debug and error logging for loading feature modules.
Merge branch 'master' of https://github.com/phcn/XMPPBot