MDL 40655 mod_scorm: update grouping in control statments in scorm_fixnav(); add undefined checks
MDL 40655 mod_scorm: fix indentation of scorm_launch_next_sco()