HPCC-11666 Make Queries list filterable by referenced library

Retargeting to candidate-4.2.8 from previous pull request: https://github.com/hpcc-systems/HPCC-Platform/pull/6070

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>