Update our version of Rails to 3.1.10

Resolves a number of important security vulnerabilities discovered in Rails.

From the CHANGELOGs, it doesn't appear as though any of this will break our apps. Pull requests will be coming shortly for our apps to use the updated SHA from this PR