Add ?query parameter support to mongooseResources