Update auto-inference for NPM packages (attempt 2).
Created by: varungandhi-src
Pass the newly introduced --inferTSConfig flag from: https://github.com/sourcegraph/lsif-node/pull/183
The PR looks bigger than it actually is; most of the delta is just me hoisting out the logic into a smaller function; might be easier to look at the split view instead of the unified view.