support Browserify's opts.resolve
Merge pull request #19 from twhid/master

add support for Browserify's opts.resolve