Upgrade Rails to 3.1.12

Includes fixes for:

* [CVE-2013-1854]
* [CVE-2013-1855]
* [CVE-2013-1856]
* [CVE-2013-1857]

Had to update Gemfury repo as well as the old one was unreachable.