Replace manual CORS implementation with Rack::Cors.

Manually tested to verify
Merge pull request #7 from tylerkern/add-cors

Replace manual CORS implementation with Rack::Cors.