Merge pull request #9 from dripolles/master

Chunk class family for pagination and sorting
Accept string in findBy<Reference>

It will get automatically transformed to MongoId
Moving common code to Query