Use class type_info, rather than class name, for dictionary checking

When checking for a class dictionary, use the std::type_info of the class, rather than the name of the class. This makes the checking independent of naming conventions, and also reduces string demangling and other string manipulations.
This pull request also changes the obsolete "gROOT->GetClass()" to the preferred equivalent, "TClass::GetClass()", in the framework.
Please merge this pull request as soon as convenient.