Upgrade Rails to 3.2.13

Fixes the following vulnerabilities:
CVE-2013-1854
CVE-2013-1855
CVE-2013-1856
CVE-2013-1857
merge master into applications-by-licence