Set proper response type for JSON, was previously text/html
Moved Options headers from htaccess into RESTController.  Allows for more fine grained control of headers, as all headers can now be set programatically in controllers.