chnage returnurl to mod/quiz/edit.php ...
MDL-43089, correct to quiz_repaginate_questions()
MDL-43089, show description qtypes as 'i'
MDL-43089, show description qtypes as 'i'
respect the quiz_format_grade() and quiz_format_question_grade() options in config.