Ported KSelectDatabaseDlg to KF5
Minor changes in the code base. Also the layout of the dialog was improved. However this dialog is definitely something we could replace.