Add Access-Control-Allow-Origin header

I am not familiar with Ruby or the Sinatra web framework, this is based purely off http://stackoverflow.com/questions/4199624/how-do-i-set-http-headers-in-ruby-sinatra-app-hosted-on-heroku