api: connect() accepts password parameter
Avoid imports in threads to avoid deadlocks
Merge branch 'devel' of https://github.com/askervin/vncdotool into b/pil-deadlock

Conflicts:
	vncdotool/api.py
fix broken tests for PIL deadlock fix