updates from 0.10.24 (with new auto-build)

@isaacs could you please cast an eye over this before I merge, tag and publish a 1.0.24.

I have an automatic [build system](https://github.com/isaacs/readable-stream/tree/master/build) that fetches the files from the joyent/node repo of the appropriate branch, including tests. It then rewrites source files as required (mainly to change `require()` statements as needed.

The tests are fetched by grabbing test/common.js and test/simple/test-stream* and there are some minor rewrites needed in there too but it's all handled automatically, nothing manual. This PR has a bunch of new tests in joyent/node that haven't been copied here.

Same thing works for 0.11 / 1.1, I'll release one of those when this is done so we have 1.1.10 as "latest" and 1.0.24 behind that for people pinning to 1.0.x.