Fix for issue #50, SCORM 1.2 uses non mandatory SCORM variables

- Check whether variables are supported by LMS
- Suppress errors from the apiwrapper
- Also fixed a race condition