Upgrade Rails to 3.1.10 to avoid security vulnerability

Upgrade to avoid de the security vulnerability described in
http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/