[TypeScript] Fix for nested enum in class

Add a config option to enable/disable camelCasing for enum values
Add a config option to add TypeScript reference path in .d.ts files
Merge pull request #907 from gcastre/master

[TypeScript] Change for generated files