Git commits in Moodle 3.3.2 by gthomas2

commit c83f37600a48c5a041e1af0621d68bfedb24a526
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Thu, 22 Jun 2017 22:21:29 +0800
Tag:    v3.3.2

MDL-59708 file: Add CUD callbacks, backport of MDL-57476

commit 2e509390691f42fefe232e7173011ff2a7035de1
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Sun, 30 Apr 2017 02:57:28 +0800
Tag:    v3.3.2

MDL-58761 behat: Fix regex in i_open_my_profile_in_edit_mode step