Check compatibility for Moodle 2.6, Require login if Moodle is configured to force login, Extend valid URLs to alphanumeric characters