Only create QApplication once for all tests
Merge branch 'master' into kill

Conflicts:
	tests/test_qeventloop.py