gbin/err — pull request #189 by ctrabold (2013-10-11 21:41:33+00:00)
Title: Fix MUC login: Support tuple & add username

In order to enable MUC for XMPP I needed to tweak `callback_connect`:

- `logging` fails if we have to deal with a tuple
The values need to be accessed by index if we have a tuple
- add parameter `username` in `join_room` with a name

Otherwise the connection can not be established.

Tested with python2.7 by building with `python setup.py install` and connecting to two MUC via XMPP successfully.