Add printf for the object type, using typeid().

There are quite a few objects wrapped from different places, so adding some debug printf to see what objects are when.  This uses typeid(*object) to get the actual runtime object.

Slightly risky, some objects give runtime exceptions if no type info.  Should only be on during debug.