Remove need for hashing NVDAObject and TextInfo objects (#9746)
* baseObject.AutoPropertyObject's __instances, and eventHandler's _pendingEventCounts: NvDAObject and TextInfo instances can no longer be used directly as the key in a dict due to hashing issues in Python3. Rather, the key is now the id (address) of the object.
* Address review comments.