assed CORS functionality to rack

Adds CORS "Cross-Origin Resource Sharing" settings to be able to obtain JSON data with scrips hosted on other sited or loaded locally by file:\\\