Bump rails

Also bump Mocha to 0.13.3: 0.12.x versions aren't compatible with the new Rails.