mod/hotpot use new core_text class instead of textlib in Moodle >= 2.6