scorm_grade_user_attempt works out percentage score

SCORM objects set the max. score for each SCO. Moodle should use these, instead of using the maxgrade thing set in the module settings.

scorm_grade_user_attempt now returns (userscore/cmi.score.max) unless the last argument is set to false.