Intellisense: Add reference path for TypeScript

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