Add staging config variables to Heroku

These two variables are necessary to make the staging environment use
staging configuration.
Upgrade Rails to 3.2.12

http://weblog.rubyonrails.org/2013/2/11/SEC-ANN-Rails-3-2-12-3-1-11-and-2-3-17-have-been-released/