Git commits in Moodle 3.0.4 by Damyon Wiese

commit 845f0cf71ec96c129fc19cd55fbd9cbeb796ca7e
Author: Damyon Wiese <damyon@moodle.com>
Date:   Thu, 05 May 2016 16:27:53 +0800
Tag:    v3.0.4

MDL-54042 user: Add unit test to cover change

commit f808005051b29ed3440d8b22d5650542e632f9c4
Author: Damyon Wiese <damyon@moodle.com>
Date:   Thu, 05 May 2016 15:15:58 +0800
Tag:    v3.0.4

MDL-54042 user: Fix debugging in core_user_get_users_by_field

commit a1be99096e91f983ed5576eec9d5d2ed66a4d5f9
Author: Damyon Wiese <damyon@moodle.com>
Date:   Mon, 02 May 2016 16:41:10 +0800
Tag:    v3.0.4

MDL-51142 assign: Fix for group assignments with NEW status

commit 388a23e9d3e0e6467c1b0b6a028a8251dcb92be7
Author: Damyon Wiese <damyon@moodle.com>
Date:   Mon, 02 May 2016 10:52:02 +0800
Tag:    v3.0.4

MDL-53901 login: Redirect to https if loginhttps is enabled