stream_get_line is supposed to return false on eof or error

Fixes #2759

changed test to match php's behaviour


Also, `stream_get_line`'s second parameter `$length` is optional in hhvm while it isn't optional in zend php. Should this be changed or not?