GuiDBHandler reconnects to current databasethread during unittests
Merge pull request #33 from NielsZeilemaker/test-cleanup

GuiDBHandler reconnects to current databasethread during unittests