MDL-38489 SCORM: added check for course display format
MDL-38489 SCORM: use course_get_format to obtain info