Properly set type_info in constructor from TClass pointer
Merge pull request #1717 from wmtan/ProperlySetTypeInfoInTypeWithDictCtor

Properly set type info in TypeWithDict ctor