HPCC-9389 Add testsocket control:querypackageinfo support

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4490 from richardkchapman/roxie-packageinfo

HPCC-9389 Add testsocket control:querypackageinfo support

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>