Plugin for CORS header and template update

Add plugin to set CORS header and switch template to use plugin instead of PHP. Touches #2.
Merge pull request #7 from mrw/plugin_header

Plugin for CORS header and template update