Author: Mihail Geshoski
MDL-60538 lesson: check if max attempts exceeded, use new lang string
http://git.moodle.org/gw?p=moodle.git;a=commit;h=994ccb7845e98d8ab3d2a2aa3ec6990523f4c793
http://github.com/moodle/moodle/commit/994ccb7845e98d8ab3d2a2aa3ec6990523f4c793
+ 3.4 en [finalwrong,mod_lesson]