Fix some deprecations in Rails 4

* `source :rubygems` is a deprecation
* `Model.scoped` needs to be `Model.all` in Rails 4
* test against 4.0.0