Use the 'csv-with-metadata-header' output format if it's available.
Moved logic to determine whether to use 'csv' or 'csv-with-metadata-plugin' output format to somewhere more appropriate.
Merge pull request #1106 from aodn/csv_with_metadata

Use the 'csv-with-metadata-header' output format if it's available.