Bump rails to 4.0 rc1
Remove mocha deprecation warning