Fix Rails version due to critial security issue

See http://arstechnica.com/security/2013/01/extremely-crtical-ruby-on-rails-bug-threatens-more-than-200000-sites/
Minor fix cache-control configuration

The new version of Rails deprecates the use of cache-control.
Merge branch 'fix-critical-rails-version'