Adding the logging for debug in the emitter.
bug fixes, code cleanup
1. fixed irc test cases
2. superuser code cleanup
3. fixed invalid JSON error in twitter app
4. added guides in room object on config-save event