Bump Mocha dependency
Bump Rails deps, fix compatibility issues