Updated gemfile for Rails 4 and fixed README, including travis & codeclimate badges