MDL-47270 core_component: make cache independent of filesystem ordering
MDL-40006 searchableselector does not work in IE or Safari.

This fix is a horrible hack, but one I have used for years in tool_editrolesbycap
https://github.com/moodleou/moodle-tool_editrolesbycap/blob/master/yui/capabilityformfield/capabilityformfield.js
and it seems to be reliable.

As an added bonus, I removed the use of YUI2 here.

Also, I fixed the related button in quiz to be GET not POST.
MDL-47238 core_user: added an error message if guests access user profiles and they aren't allowed to
Merge branch 'MDL-47270-core-component-classmap-ordering_26_STABLE' of https://github.com/mpetrowi/moodle into MOODLE_26_STABLE
Merge branch 'MDL-47238_guest_26' of https://github.com/andyjdavis/moodle into MOODLE_26_STABLE
MDL-37998 quiz settings: disableif rules should account for overrides.

Some form fields are disabled if only one attempt is allowed. However,
there may be an override allowing some students more attempts. We need
to account for that possiblity when setting up the disabled if rules.

Note the disabledIf is good for usability on this complex form, which is
why I don't just want to get rid of them.