Replace recursive process.nextTick usage with setImmediate as per http://blog.nodejs.org/2013/03/11/node-v0-10-0-stable/
Add fallback mapping of setImmediate -> process.nextTick to support node versions < 0.10
Merge pull request #11 from wormly/master

Replace recursive process.nextTick usage with setImmediate