Add rudimentary mechanism for injecting CORS headers
Move CORS logic out of restbase.js and into server.js
Remove changes to restbase.js
Merge CORS handling branch

- Integrate the CORS headers into the generic handleResponse method
- Add comment to disabled proxy handler test