MDL-10689: No questions imported if "stop on error" selected and there are invalid grades.
MDL-10689:
No questions imported if "stop on error" selected and there are invalid grades.

Merged from STABLE_18

dilawar/moodle