Calendar fixes and distance.

- fixes escaping issues
- shows the distance in the title
- show the url for each even