readtable changes for IOBuffer streams. fixes #299
implemented peek method that checks eof.
readnrows! reads all rows if nrows is -1
Merge pull request #310 from tanmaykm/master

readtable changes for IOBuffer streams. fixes #299