Add readline() method for streams, implemented for files using fgets().
Add blob.tostring() method.

This is not too efficient regarding memory usage, but of course awfully
practical.
Treat "", [], {} as false values in boolean context.

This allows for easy checks for termination conditions, e.g.

while (list) do_sth(list.pop);

This is based on similar behavior in Python.