added debug=true
set to debug mode
added OPTIONS request for CORS
Merge pull request #92 from neillobo/fix/CORS

Fix/cors