Compile TypeScript files on building the project or solution.

Todo: Move compilation off GUI thread so the IDE does not hang when
TypeScript compiler runs.