Fix failing require with webpack

I am using `model` in an isomorphic app, and this `path.join(__dirname, info.path)` fails because [webpack](https://github.com/webpack/webpack) transform `__dirname` into `/`. 
So the failing result is `ctor = require('/memory/index').Adapter;` (notice the absolute path).