Upgrade RSpec and Rails

* We’re now freezing RSpec version in the gemspec
* We now test for Rails 4.1
* The tests have been adjusted to work with the new Rails relation classes