Git commits in Moodle 2.6.4 by Dan Marsden

commit 26143abeafe824e8bb4489267324216ea1cd2ac2
Author: Dan Marsden <dan@danmarsden.com>
Date:   Fri, 16 May 2014 09:51:58 +0800
Tag:    v2.6.4

MDL-45583 badges: check parent contexts consistantly when checking required role.