Git merges in Moodle 3.1.6 by Eloy Lafuente (stronk7)

commit 2588195fc074ff7e114d5a3cea752228e5c54dca
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Thu, 04 May 2017 02:53:56 +0800
Tag:    v3.1.6

Merge branch 'MDL-58754-31' of git://github.com/andrewnicols/moodle into MOODLE_31_STABLE

commit 315214fd8038aa8bbdeb6f288df66006355f8d5b
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Thu, 04 May 2017 01:06:13 +0800
Tag:    v3.1.6

Merge branch 'MDL-58788-31' of git://github.com/danpoltawski/moodle into MOODLE_31_STABLE

commit 2eda090ebebcafb7421bb49adffadf0de8f38285
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Wed, 05 Apr 2017 06:30:37 +0800
Tag:    v3.1.6

Merge branch 'MDL-58055-31' of git://github.com/andrewnicols/moodle into MOODLE_31_STABLE

commit a239fdd2a02415597e3666b364b8930070f8b550
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Wed, 05 Apr 2017 01:26:48 +0800
Tag:    v3.1.6

Merge branch 'MDL-55326-31' of git://github.com/andrewnicols/moodle into MOODLE_31_STABLE

commit 5f368c5dd7e8e13e77ec6dffc372f6e9fd39c4b4
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Wed, 05 Apr 2017 00:24:11 +0800
Tag:    v3.1.6

Merge branch 'MDL-55499-31' of git://github.com/andrewnicols/moodle into MOODLE_31_STABLE

commit 57d9979b43b14f6d7c4634209404face7ca8dfd7
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Fri, 24 Mar 2017 03:30:47 +0800
Tag:    v3.1.6

Merge branch 'install_31_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_31_STABLE

commit e5edbe8ccd4bfb897cb2c87557fa303c6af9dfc8
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue, 21 Mar 2017 08:06:07 +0800
Tag:    v3.1.6

Merge branch 'MDL-57840-31-get_users_by_field' of https://github.com/roperto/moodle into MOODLE_31_STABLE