ddeboer/data-import — pull request #33 by stevelacey (2013-10-10 09:16:02+00:00)
Title: Allow fewer elements than column headers in CSV's

At present rows are considered invalid and skipped should they contain less elements than there are column headers provided.

Outlook 2010 (and presumably some others) will omit trailing blank elements when exporting to CSV.

This ensures that this case is allowed, adjusts the existing 'csv invalid' tests, and adds a couple more to cover this use case.

Criteria:
- Rows with more elements than column headers should be considered invalid.
- Rows with fewer elements than column headers should be considered valid, and padded with null values.