Tyr: only keep data_set correctly integrated

last_dataset now return only data_set associated to a job with a state
at "done"
Merge pull request #701 from kinnou02/tyr_keep_done

Tyr: only keep data_set correctly integrated