Use GlobalSetting to enable CORS at application level
Merge pull request #1925 from slainer68/cors_config

Use GlobalSetting to enable CORS at application level