added CSV attachment generation

by setting a global called GF_DIGESTS_AS_CSV to true this plugin will
send the data as a CSV attachment, not mainstream, but might be useful
to someone