Use recursive method FindClassOrBaseMethodWithId to look in the base classes

This solves a potential error with signal/slots. E.g. tutorial/gui/splitbuttonTest.C was issuing these errors:

Error in <TQClass::GetMethod>:
Did not find matching TMethod <SetState> with " kButtonUp" for TGSplitButton
Error in <TQObject::CheckConnectArgs>: slot TGSplitButton::SetState( kButtonUp) does not exist
TQObject::Connect (this=0x25a83d0, signal=0x7fffeea24e7c "PoppedDown()", receiver_class=0x7fffeea24e05 "TGSplitButton", receiver=0x25a8850,
    slot=0x7fffeea24eae "SetState(=kButtonUp)") at /build/bellenot/git/master/core/base/src/TQObject.cxx:1201

Since the method SetState(=kButtonUp) is a method of TGButton, while TGSplitButton inherits from TGTextButton, itself inheriting from TGButton