Strip commas from answers checkboxes that were checked

 - includes a refactoring of U.stringifyArray so that it can be used more generally.
 - it no longer appends a new line at the end of the array.  now caller who want the newline add it