Implement Add-Type -TypeDefinition

Support generating types in memory from C# code.