Add check for empty lines to uploaded CSV file when importing.
Iterate over empty rows and remove them.
Merge pull request #6055 from openscholar/6054

Add check for empty lines to uploaded CSV file when importing.