Bug 1027497 - Move Gtest startup after Qt/Gtk initialization. r=BenWa