1. PEP8 2.fix: format is not compatible with python 2.6
fix: NullHandler is not available in Python2.6
fix: ET.Element is a function in python2.6 while a class in python2.7, and they have different signature.
add config: xml encoding line
fix: config should be keyword, not a member
fix: remove method parameter, because it's default is xml, which works both in python2.6 and python2.7, but tostring has no such parameter in python 2.6
fix: settings in context are all string
fix: use a dull NullHandler for python2.6
Merge branch 'patch' of https://github.com/chenhouwu/django-conversejs into chenhouwu-patch

Conflicts:
	conversejs/utils.py
Django settings separed from conversejs settings &

Not adding the XML declaration line as it's optional on most bosh
servers and not accepted by some of them.