Git commits in Moodle 2.4.2 by Dan Marsden

commit 76b177f6c3fe66870c2825bfdd2e47857d170542
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 04 Feb 2013 17:04:06 +0800
Tag:    v2.4.2

MDL-33078 SCORM: rebuild toc when calling LMSCommit to improve pre-req handling

commit a07fe914d0931d8d8c0091384b84f6866abc1424
Author: Dan Marsden <dan@danmarsden.com>
Date:   Sun, 03 Feb 2013 15:00:18 +0800
Tag:    v2.4.2

MDL-29207: SCORM prereq callback is pure js - move it to module.js so it can be cached better.

commit bb22d0696e40dceccc6b2625c158b77865d36cec
Author: Dan Marsden <dan@danmarsden.com>
Date:   Sun, 03 Feb 2013 14:55:32 +0800
Tag:    v2.4.2

MDL-29207 SCORM: Auto-continue doesn't work with Pre-req due to JS errors

commit 216e2e5b7f4dc35843ca8d1114adf0c068e26d08
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 01 Feb 2013 06:33:54 +0800
Tag:    v2.4.2

MDL-36800 SCORM: Fix Yui().use calls - thanks to Nancy Cheng for the fix

commit 54bc823b80efa23059aaf9739ba099e23e867bb5
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 31 Jan 2013 05:45:11 +0800
Tag:    v2.4.2

MDL-34231 SCORM: calculate correct number of attemptsleft when entering an attempt.

commit 481e8f710578919293e1ae573d68baaad0189ff9
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 28 Jan 2013 16:17:43 +0800
Tag:    v2.4.2

MDL-34231 SCORM: Lock after final attempt when using skip content structure or direct navigation to player.php

commit 2a97de2671af9293d10adbb3151afbf6be8c88a1
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 28 Jan 2013 05:31:08 +0800
Tag:    v2.4.2

MDL-37696 SCORM css: don't include style.css multiple times

commit 1e503b8925bea1d7b9e20e681742530e35ff93b7
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 11 Jan 2013 18:45:23 +0800
Tag:    v2.4.2

MDL-37394 SCORM: Aicc direct url fails with new nav as it has a single sco with no children - allow these to be navigated correctly.

commit 840193d514006a1f66ea6c84d4290996aa0bb466
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 11 Jan 2013 14:47:55 +0800
Tag:    v2.4.2

MDL-36853 SCORM: get first valid sco instead of array of scos - thanks to Jamie Smith for the fix - fixes PHP warnings when returning to an existing attempt.