Upgrade Rails to 3.1.12

Includes fixes for:

* [CVE-2013-1854]
* [CVE-2013-1855]
* [CVE-2013-1856]
* [CVE-2013-1857]