Analysis: (CA1305) Specify IFormatProvider.
Analysis: (CA1307) Specify StringComparison.
Analysis: (CA1304) Specify CultureInfo.
Analysis: (CA1024) Use properties instead.
Analysis: (CA1045) Don't pass types by reference.
Analysis: (CA1051) Visible instance field.
Analysis: (CA1500) Variable matching field name.
Analysis: (CA1304) Specify CultureInfo.
Analysis: (CA1024) Use properties instead.
Analysis: (CA1051) Visible instance field.
Analysis: (CA1801) Review unused parameters.
Analysis: Removed unused classes.
Analysis: (CA1804) Remove unused locals.
Analysis: (CA1806) Do not ignore method results.
Merge pull request #306 from am11/master

Analysis: more warnings fixed
Code: Improve IntelliSense generation

Remove duplicate type names for nullables
Add some missing primitive types
Fix Typescript comment generation
Reuse Regex instance
Add comments for JS constructor function

Fixes issues with #307