readtable changes for IOBuffer streams. fixes #299
implemented peek method that checks eof.
readnrows! reads all rows if nrows is -1