MDL-37401 mod_scorm : autocommit for scorm