Upgrade Rails to 3.2.13

To avoid any exposure to the latest crop of security vulnerabilities.
Upgrade mocha to fix issues with new version of Rails