Improve passphrase.query
Summary: Fixes T8070. Fixes T8071. Modernizes passphrase.query to support "order".
Test Plan:
- Saw description in results.
- Queried for destroyed credentials with "needSecrets=true".
- Used "order".
Reviewers: btrahan
Reviewed By: btrahan
Subscribers: mikn, epriestley
Differential Revision: https://secure.phabricator.com/D12715