update scormWrapper.js to use braces-on-line coding style and strict equality. also remove config option that stopped the pipwerks code (SCORM_API_wrapper.js) from automatically handling setting the SCO to 'incomplete'. finally, removed the commit call from finish as the pipwerks code now handles doing this.
amend to SCOStart to remove the code that set the SCO to incomplete - this is now handled by the pipwerks code in SCORM_API_Wrapper.js
amended a comment
remove duplicates of SCOStart and SCOFinish
fixes #33
added method setStatus
swap around lines in persistSuspendData so that setSuspendData is called *before* any attempt to mark the course as completed. This is so that the automatic called to commit() that a change in lesson status triggers will happen *after* the suspend_data has been set, ensuring that it too gets saved.
Also redirected all setStatus calls to the new version that is in scormWrapper.js
update devDependencies to prevent Travis CI build fail
delete repopulateCompletionData and restoreProgress as neither is actually used
optimise slightly crazy code in serialiseSaveState so that it's a) faster and b) more readable
set SCORM version prior to calling initialize!
removed js/scormData.json as it's not used. added in example.json
added 'checkTrackingCriteriaMet' to split out some of the logic that was previously shoehorned into 'persistSuspendData'. also refactored onAssessmentComplete so that events occur in a more logical order. Finally changed all the bloody space-identing to tabs ;-)
Merge pull request #32 from moloko/master

updates to scormWrapper