VITERO-18 mod_vitero for Moodle 2.7 - error handling fixes