CSVExporter: fix the case when stepMode=True
Fixed CSV export when PlotDataItem uses stepMode=True
Added CSV export unit tests
Merge remote-tracking branch 'termim/csv' into develop