remove /index from module entries

When I have directories like this

    foo/
      index.js
    bar/
      index.js

global.require table has `/foo/index` and `/bar/index`. node.js convention is to drop `/index`

Sorry about not updating tests, I'm fairly busy with another project and I'm fixing things as I find them.