HPCC-11754 Support copy entire queryset from one environment to another

Also enhance behavior whenever copying queries from a remote environment:

Will try and reuse an existing local copy of the workunit, matching WUID,
hash, and dllCrc.

Otherwise try and reuse the WUID from the remote environment.

Also try and identify existing copies of the same query dll.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>