Upgrade to Rails 4.0.2
Upgrade all gems
Set locale config to silence deprecation warning.