add cors headers even for error pages
Merge pull request #7 from chrisrhoden/cors

add cors headers even for error pages. great, thanks!