Add CORS

Implementation untested
Merge pull request #6 from tylerkern/add-cors

Add CORS