Use 'QT += testlib' in the test projects instead of PhTools.pri

On Windows, using 'QT += testlib' makes the console appear. This is
fine for tests, but not for the Joker main application. So use this
only in the tests projects.