Git commits in Moodle 3.3.2 by Andrew Davidson

commit 47125f1da3279d7f1c6452e1993d03941423f83e
Author: Andrew Davidson <andrew.davidson@synergy-learning.com>
Date:   Wed, 19 Jul 2017 20:40:26 +0800
Tag:    v3.3.2

MDL-59499 coursemanagement: Rewitten expand and collapse

commit 93ab68385de4a1b430980e87eee8c7ba28d60f22
Author: Andrew Davidson <andrew.davidson@synergy-learning.com>
Date:   Tue, 11 Jul 2017 19:33:08 +0800
Tag:    v3.3.2

MDL-59499 - Fixed collapsing category javascript to use template rendering