CRM-14340 - Fixes for iCals in event emails

CRM-14340 - Fixes for empty / unnecessary iCal feeds in event emails
Improve coding style on HTML templates

Improve coding style on HTML templates
Merge pull request #2658 from JKingsnorth/CRM-14340

CRM-14340 - Fixes for iCals in event emails
Great. Thanks!