Remove textlib references - use core_text

See Moodle 2.6+ /lib/upgrade.txt @ line 115
Use core_text::* instead of textlib:: and also core_collator::* instead of collatorlib::*.