Further contrain rails gem requirement

Ensure that the bundled version of rails is >= 3.2 and < 4.0
Merge branch 'further-constrain-rails-gem-requirement' into development