Git commits in Moodle 2.5.2 by Jamie Pratt

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

MDL-40388 Reset globals after each unit test

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

MDL-40176 mock_submit method for testing