MDL-48259 questionlib.php: remove functions deprecated in Moodle 2.6