HPCC-11127 Fix getXmlResult handling of supplied values

Also update provided xml values when roxie runs a workunit query and
common up code with eclagent.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>