Update CsvReader.php

Fixing the infinite loop.
Merge branch 'master' of github.com:deep9/data-import
Added tests for PR#26.