MDL-18229 gradereport: Fixes and improvements from review.

Added pagination back in with some general fixes.

AMOS BEGIN
 CPY [override,mod_quiz],[override,gradereport_singleview]
AMOS END