Use QTEST_GUILESS_MAIN for tests
Summary:
The tests don't need a Q{,Gui}Application and still work fine,
allowing them to run without a display server.
Test Plan: Tests still pass fine without a running display server
Differential Revision: https://phabricator.kde.org/D23187