Moving failed executes to the failed queue

Now failed_ids are grouped, then we create a new Job and put in
quarentine in the failed queue. If we want can requeue it from
the api, dashboard, etc.