Improve CSV import dialog

This changes the preview table in the CSV import dialog to only
load and display the first 25 rows in a file. The file is only
fully read when actually importing the data.

Change-Id: Ie22161319e4f086e8e3d5e10323a220b04bd0fe1