cope with the exam duration changing between SCORM restores

If the SCORM package is updated with a version of the exam which has a different duration, recalculate the time remaining as (new duration - (old duration - old time remaining))

see #340