Increased priority of CORS-listener to ensure headers are being added even on errors
Added a test for the issue and updated existing tests
Updated ChangeLog