MDL-12547 "allow manual quiz grading to sort by groups" added code to select which group to grade.
MDL-12547 "allow manual quiz grading to sort by groups" added code to select which group to grade.

Merged from Moodle 1.9 branch

dilawar/moodle