Introduce query_many() in Repos

And make it possible to use Objects in where conditions in Repos