Fixed database connection error. Reworked the add connection dialog box.
Merge branch 'dev' of https://github.com/Castronova/EMIT into dev

Conflicts:
	gui/mainGui.py

Some refactoring.