Git commits in Moodle 3.0.6 by gthomas2

commit 57a5be549050c80f865d1ad88a57842ad90191c9
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Wed, 24 Aug 2016 00:40:03 +0800
Tag:    v3.0.6

MDL-55312 requirejs: Fix timeouts with infinite waitSeconds