Fix end time of recurring events

The UNTIL date in RRULE specs were being ignored as the code had event_until = max(event_until, end_utc); I think you mean "min" here so that event_until is the smallest of those two dates.
Merge pull request #2 from sje30/patch-1

Fix end time of recurring events. Patch from Stephen Eglen.