Add support for Rails 4

I changed all scopes to callable objects and now gem works fine with Rails 4