Re-implement the iqstat command using `irods::query` instead of the C API to GenQuery. _Originally posted by @alanking in https://github.com/irods/irods_client_icommands/pull/349#pullrequestreview-1265802462_