Decouple the determination of CORS headers from the Flask request and response to make testing simpler
Merge pull request #80 from wcdolphin/patch/decouple-cors

Refactor determination of cors headers and origins from setting on request