rejig workaround for lookups into std as-if-global into a clean(er) solution (see also ROOT-5674)
don't get actual class for printing: if the object does not already carry the actual class, this is usually for good reasons
remove a lookup optimization as it breaks history (ROOT-5676)
hum ... module inspect for interactive help() insists on a co_code object; this puts it back and cleans it up