Added checkbox to the settings dialog for CORS, also slight changes in the documentation
Merge branch 'jonnor/api-allow-cors' into devel