fixes multiple file being required from one dir

- previously was binding function, but file param needs to be before opts - { entry: true }
- this caused an error in browser-resolve which treated { entry: true } as a string
Merge pull request #7 from thlorenz/fix-dir-require

fixes multiple file being required from one dir