Fix crash in querytest and actually run IO in KJob async
We did extend from a QThread, but called the methods directly and thus called them in the main thread. KNewStuff has another KJob wrapper around this, which is why the issue was not user facing.