badges: check for moodle 2.5 (lower version have no badges)