HPCC-8638 Allow the internal CSV buffer to dynamically resize

Also clean up the quote processing code by including it in the same loop
as the quote processing.  This avoids copying the strings more than once.
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8638 Update the regression test cases
Merge pull request #4018 from ghalliday/issue8638

HPCC-8638 Allow the internal CSV buffer to dynamically resize

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>