replacing nextTick in cache with setImmediate coz of recursive restriction on nextTick
incorporating the comments
updating setImmediate back to global.setImmediate coz istanbul gives ReferenceError for node8
Merge pull request #2 from vsacheti/master

replacing nextTick in cache with setImmediate coz of recursive restrictictions