Moodle.2x mod/taskchain fix use get_context_instance in Moodle 2.0 and 2.1