Importer: save progress for skipped tasks

Save progress and history for import tasks that are skipped by the user, so they are recorded for import resuming and incremental importing.
Fix issue #844