Modify TypeScript's tsc.js in memory to expose a compiler API, and use that instead of shelling out to tsc