models/task.py: Launch process only when pre-process completed
In theory the process could have been launched (and has been, see vdj#684) before the pre-process starts (when it is QUEUED or ASSIGNED). Now we only allow to start it when the pre-process has been completed (if it has been defined). Closes #3289