Update assertions of tests of query api.

This was left behind after I've changed the query api to allow sorting only
on a single field of the query.
Merge branch 'release-0.27.x'
Fix for gateway resource writing binary content of the 0 bytes length.
Merge branch 'release-0.27.x'
Make sure the feat dns client always uses A type queries instead of ANY.
build prerel