Downgrade Rails to match ror40 SCL

As a temporary measure during development on this branch, downgrade Rails 4 to
version 4.0.2 to match the version shipped in the RHSCL ror40 collection, to
avoid introducing incompatibilities by depending on features in newer versions.

It can be reverted to 4.0.latest for production usage once the work's complete.