Add export routine to TextareaField

Sanitize textarea content on export
Add ability to pass output file to result set exporter

This is necessary in case the exporter wants to redirect output to a file.
Use built-in PHP functions to encode and output CSV content