Merge pull request #133 from glyphobet/master

Use custom query classes on model objects
Fixes allow_patch_many example code.