[ZM] Merge: Perform DMS exports as long running tasks (#166)

As #179 but for feature-zm branch.
CloneableLongRunningTask which was new in ZM branch and extended LongRunningTask was removed and the tasks based on it were directly based on EmptyTask. All tasks now use cloning to provide restartability.