simulator: implement a simulator for the "old" task-based scheduler
We extend the Task object with an autogenerated uuid allowing us to
track the task lifetime between its creation and the generation of visit
statuses, as the task-based scheduler does.