CORS typos
Merge pull request #499 from gergelyke/master

CORS typo fixes
Convert 8 spaces indent to 4 - update linter
Bump patch version to 2.6.2
Merge pull request #524 from mcavage/refactor/four-indent

Convert 8 spaces indent to 4 - update linter
Formatting added to CHANGES, package.json with 4 indent as well
Fixes #522: Added Access-Control-Allow-Credentials to the preflight handler