Intellisense: Add reference path for TypeScript

* Intellisense: Add reference path for TypeScript (Fixes #676 and also #678).
* Code Analysis.