Override core_course_renderer to handle persistent editing mode

core_course_renderer::course_section_cm_list_item() is called by the file
dragdrop handler to generate the new module instance for the course, but
it didn't know about persistent editing mode so no editing controls were
generated if "real editing mode" wasn't enabled.