Support different basedir per browserify() call

See https://github.com/ForbesLindesay/browserify-middleware/issues/18