update and bug fixes
Merge branch 'checkconnection' of github.com:ruimalheiro/ka-lite into checkconnection

Conflicts:
	kalite/templates/admin_distributed.html