Git commits in Moodle 2.4.6 by Jamie Pratt

commit 4eff6ed9fe64229abbe4633daaa2db43ba841229
Author: Jamie Pratt <me@jamiep.org>
Date:   Tue, 02 Jul 2013 13:43:14 +0800
Tag:    v2.4.6

MDL-40388 Reset globals after each unit test

commit 304343830b4e38870d7d91325373192a4b8cce1c
Author: Jamie Pratt <me@jamiep.org>
Date:   Thu, 20 Jun 2013 14:18:42 +0800
Tag:    v2.4.6

MDL-40176 mock_submit method for testing