HPCC-9749 Support workunit resource access URLs in WsECL

Also extend the URL format to allow access via target/queryname, as well
as wuid.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5185 from afishbeck/queryResources

HPCC-9749 Support workunit resource access URLs in WsECL

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>