Fix how-to-use comment for Typescript change.
Fix node setTimeout/setInterval so you can pass more arguments to them.

Also make typescript aware of the ref and unref methods on the objects
returned by setTimeout/setInterval.