Nilcheck e.dtend to allow events with no end time

As I understand the ics standard, it is allowed to have an event without an end time. However, if you use timezones, this breaks the app due to calling ```ical_params``` on ```nil```. This pull-request includes a simple nil-check on ```e.dtend``` before doing that.