Add `resolve` and `basedir`

Both have now been documented for browserify (thanks to @afbobak for
originally suggesting the basedir change)