local_enrolmentreminder: Allow lead time to be set by course & use enrolments directly rather than creating calendar events