Use the new type reference class in unit in the CLI generator.
Added much better support for base classes.
Extract the function parameter marshal logic into its own method.
Only ignore constructors with zero parameters (which might not be the default).
Use the new type references unit convention.