MDL-39760: mod_assign: Make submit_for_grading accept submission as parameter