Add support for global and recurring calendar events

The reason I included the "if"s is that `"count"` and `"until"` are exclusive. They shouldn't both have values for any event.