Remove inline event handlers from resource template.

This allows us to use a strict CSP on explorer pages.
Merge pull request #543 from STRML/fixInlineEvents

Remove inline event handlers from resource template.