Fix rails4-related Gem::Version issues in 3 gems, make Gemfile use those branches for now.