some docstrings, some bug fixes and some cleanup
some docstrings, some bug fixes and some cleanup

--HG--
branch : wokkel-muc-client-support-24
extra : convert_revision : svn%3Ab33ecbfc-034c-dc11-8662-000475d9059e/branches/wokkel-muc-client-support-24%40119

ralphm/wokkel,thepaul/wokkel,thepaul/wokkel