Emit 'close' events from query streams

Consider a system where one component is scheduling tasks that yield
streams, and passing them to (unknown) clients for consumption.

It would be useful for the scheduler to know that the query
underlying the stream is completed (so it can continue on to it's
next task) without having to wait for the consumer to finish reading
all results.

My actual concrete use case is [any-db-transaction][] which only sees the stream object, but needs to perform it's next query without waiting for the consumer. I currently emit this event manually in [any-db-mysql][] but it seems like good stream behaviour so here we are :wink:

[any-db-transaction]: https://github.com/grncdr/node-any-db-transaction
[any-db-mysql]: https://github.com/grncdr/node-any-db-mysql

Edit: s/child/consumer/