a bunch of node 0.11 related fixes

https://github.com/jashkenas/coffeescript/pull/3450
https://github.com/jashkenas/coffeescript/pull/3460
https://github.com/jashkenas/coffeescript/pull/3503