Replaced deprecated process.nextTick with setImmediate

- Added test that causes Maximum call stack size exeeded error in node

Added test that causes recursion
Added Node 0.11 to travis ci test runner
Merge pull request #337 from taras/master

Replaced deprecated process.nextTick with setImmediate