MDL 40655 mod_scorm: do not call scorm_get_available_children() when parent is null
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()