Cache the ts bin path (and typescript.js module) after loading it once

- Saves a lot of time in a grunt task that defines a lot of subtasks (“egen” in this project is one example)