[3.8][PHRAS-58] Add CORS feature 

- [x] Add tests
- [x] Add doc see https://github.com/alchemy-fr/Phraseanet-Docs/pull/116