Use model scopes with Ransack as in master branch

As I asked on friday, I've just commited this feature in 4.1 branch