MDL-38557 fix quiz version number mess from MDL-31983
MDL-38557 quiz manual grading should check mod/quiz:grade
MDL-38557 quiz install.php code should actually be in reports.

I think it is worth moving this code to its correct home in master.