Modify node_modules folder search to work on any os
Modify node_modules folder search to work on any os

The previous method of using index of and searching for a folder that uses forward slashes does not work on windows.

Cside/mock-require,boblauer/mock-require,josh-egan/mock-require