JENA-652 : Set CORS headers
Code for setting CORS headers.
This is controlled by the global flag, which defaults to "off".
JENA-652 : Set CORS headers
Merge branch 'CORS_JENA-652'