Properly close shelf upon restart

This fixes some data loss (plugins, repos, etc.), as shelves
are only written back to file if they're explicitly closed.
Merge pull request #136 from arrrrr/fix_restart_data_loss

Properly close shelf upon restart
Fix messed up display of status and repos commands

This occurred in pidgin pre 3. Now both pidgin 2 and 3
render the command outputs nicely. Other clients may be
affected to, especially adium, since it shares the same
renderer (as far as I know).
fixed the standalone execution with -c parameter
corrected the QT backend under python 3
same fix applied as previously for hipchat backend
Merge pull request #138 from arrrrr/fix_repos_status_display

Fix messed up display of status and repos commands
more hipchat fix but it requires more treatment
Merge pull request #139 from gbin/fix_standalone_exec

fixed the standalone execution with -c parameter
Merge branch 'master' into pr/134

Conflicts:
	errbot/templates/repos.html