Improve lookup for vs projects performance by caching the results.

Also ignore node_modules directory when looking for vs projects.
Fixes #649