Item12612: QUERYPARAMS failed to return mulit-valued parameters

 - Add support for multi-valued parameters
 - Add a unit test.