MDL-34989 assign: Allow students to submit when grade is overriden

Also inform teachers when grading is disabled due to gradebook lock/override.
MDL-34989 assign: Do not add a param to grading_disabled - cannot be backported.