MDL-42079 calendar: Use calendar class to create and update events when importing ical
MDL-42079 calendar: Add a manger to support parsing recurrence rules as per rfc 2445