MDL-59666 mod_assign: Add validation for grading due date