re-run of my previous pull request, this time with no stray curly braces!

This main purpose of all of this was to:
* update the pipwerks SCORM code to the latest version
* switch scormWrapper.js to use 'braces on line' style that is correct for JavaScript
* add a function (isFirstSession) to scormWrapper.js that allows you to check if the course is being run for the very first time
* give responsibility for setting the SCO to 'incomplete' back to the pipwerks code
According it's important to make sure that SCOStart in adapt-contrib-spoor.js is updated to the version here (the one without the sw.setIncomplete call)