Added csv-write and csv-write-file routines, support for custom quotes and separators

Added Test files for new features. (And some under tested existing features.) Revised test files to not use implicit quotes as it causes fragile behaviour cross-OS.