Properly set type info in TypeWithDict ctor

Fixed a failure of three framework unit tests in the ROOT 6 branch due to the failure to properly initialize the ti_ (type_info) data member of TypeWithDict in the constructor from a TClass pointer.

There are 36 other framework unit tests also failing. Fixes for many of those should be coming soon.