alert_history_csv: Enable printing of long output
Take include long output option into consideration when creating a csv
from alert history.
Submitting a passive check result with Okänd status ","Räksmörgåsen
är mumsig works (= all output is in the same cell) when opening the csv
in both Excel 2013 and Libreoffice
Libreoffice also handles the newlines properly (=one cell with several
lines in it), but Excel does not (and can not, it seems from some
googling).
fgetcsv is able to read back the csv properly, so at least one
"script-friendly" method exists for parsing the file.
Newlines in csv feel quite strange to me, but since f{put,get}csv
supports it and Libreoffice supports it, I guess we're good to go.
This implements #8416
Change-Id: If95bc04917c2d254a9e25cb618a39c4460a28995
Signed-off-by: Henrik Smederod <hsmederod@op5.com>