MDL-42079 calendar: Use calendar class to create and update events when importing ical