Convert x.classinfo to typeid(x)
Merge pull request #664 from yebblies/classinfo_typeid

Convert x.classinfo to typeid(x)