enable bundle install and gem usage for ruby 2, rails 4, mongoid
Merge pull request #412 from aew/master

Changes needed for compatibility with Ruby 2.0, Rails 4