1070585: GUI no longer locks on connection test. Adds cancel button.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1070585

Add a test case for an unexcepted exception (say, IOError or OSError or SomeExceptionYouMakeUp)