DAT-2021 Add CORS helper and usage in Wikis and Article APIs

already reviewed in #5054