Changed Rails major version check to include Rails 4
Fixed Rails 4 deprication warning "Returning a hash from a #scope or #default_scope block is deprecated."
Updated .travis.yml to use more recent versions of Ruby and Rails
Merge pull request #5 from MountainCode/rails_4

support for rails4