Moodle.2x mod/taskchain remove use of deprecated get_context_instance and get_textlib