allow PHP 5.2 testing to fail
enable CORS for the API

See http://enable-cors.org/ for more information.