Git commits in Moodle 3.1.2 by Davo Smith

commit 2a59561f7eb86e7ad38badce2d36f231588262ae
Author: Davo Smith <git@davosmith.co.uk>
Date:   Wed, 06 Jul 2016 17:33:06 +0800
Tag:    v3.1.2

MDL-55136 data_object: fix param handling in fetch_all_helper