MDL-34640 quesion reponse files: PARTIAL SOLUTION to allowing resonse files to be graded automatically.
MDL-34640: adding code to pass contextid and question type to question_file_loader.
Patch adapted to pass the question_type object, as suggested from Tim.