merge the preview and scan thread
Initial step towards unifying the preview and scan threads. This MR merges the two classes, cleans up the API and moves the progress timer from KSaneWidget into the thread such that it is automatically started and stopped when the thread is started and stopped. The separate code paths of the preview and final scan are mostly kept for this MR. The real unifying and cleanup comes with the following patch.