Corrects require.resolve to look up node_modules chain properly. Fixes #161
travisplexer: pr-165-osx travis ci test