MDL-37485 plugins overview: require_login before _capability.
Merge branch 'MDL-37485_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
weekly release 2.2.7+