Fixes basic generic syntax generation (Issue #1)

Fixed some code issues and did a basic test compiling a C# generic
method to typescript. Going to revisit how the generate step works
during compile time and build a syntax model for the typescript code
before generating it in a single step vs. passing around a StringBuilder
and generating source code strings.