MDL-44070 Conditional availability enhancements (7): forms

Changes to the module and section editing forms to use the new
fields and JavaScript.
MDL-44070 Conditional availability enhancements (8): display

Includes theme and renderer changes required for the new feature.
There are two parts: style required for the display as part of the
course page (when showing the list of conditions for an activity),
and style required for the settings form.

This change supports both the bootstrapbase theme (which was the
main theme used during development) and the old base theme.
MDL-44070 Conditional availability enhancements (9): wider changes

Changes to arbitrary areas of code that are necessary after the new
API (mostly to replace deprecated function calls).
MDL-44070 Conditional availability enhancements (10): autogenerated

Includes all the autogenerated files (to make it easier/less worrying
when reviewing and rebasing).