Moodle 2.7 fixes (remove logging for now)
fix for role names not showing in new 2.x installs
Merge branch 'MOODLE_27_STABLE' into MOODLE_26_STABLE