Revert "Revert "Add a new pending reason WaitingForScheduling which indicates a job has""

This reverts commit ebb3ec3cc199bc14d55ae7b79ad62b6be5934007.