Better CSV validation

When uploading a CSV, check every entry before executing the INSERT. The checks are the same as with the normal add except that no errors are shown.