Add a custom exception to CredentialsDialog, improved gnome library detection, improved detection of qdbus on KDE.