Merge pull request #11 from sideshowcoder/support_put_in_cors

adding correct headers in CORS reponses, plus passing test