Added support for CORS

Using rack-cors to support CORS calls. NOTE: config/application.rb and
config.routes.rb need to modified to restrict the domains that can
access.