readcsv fix col count when no newline. fixes #4890

added tests for single line csv without newline

used iobuffer for tests