adding tests to reproduce the problem
- resolver test shows that async resolve fails when main field in package.json is incorrect
- resolver_sync test shows that sync resolve finds index.js under same circumstance
async resolve now falls back to 'index.js' if main field in package.json is incorrect
0.4.1