Fix icalendar usage, % -> format, pep-8

* updated to use a more recent version of icalendar
* changed % to .format()
* bunch of pep-8 fixes