Implement CSV attachment preview

CSV preview is currently limited to the first 1,0000 rows
Front-end work still to be done.