Fix calculation of kIsForeign in TClass::Property
Fix calculation of kIsForeign in TClass::Property

This code used to use ClassInfo_Has|IsValidMethod but since v6
they return true if the routine is defined in the class or any of
its parent.  We explicitly want to know whether the function is
defined locally, so let use TClass::GetClassMethod.

buuck/root,beniz/root,pspe/root,mhuwiler/rootauto,agarciamontoro/root,simonpf/root,CristinaCristescu/root,lgiommi/root,mkret2/root,nilqed/root,zzxuanyuan/root-compressor-dummy,buuck/root,mkret2/root,krafczyk/root,jrtomps/root,mattkretz/root,evgeny-boger/root,BerserkerTroll/root,veprbl/root,lgiommi/root,BerserkerTroll/root,karies/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,thomaskeck/root,arch1tect0r/root,root-mirror/root,vukasinmilosevic/root,gbitzes/root,davidlt/root,georgtroska/root,sbinet/cxx-root,gbitzes/root,sirinath/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,simonpf/root,satyarth934/root,CristinaCristescu/root,thomaskeck/root,buuck/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,karies/root,perovic/root,perovic/root,thomaskeck/root,sirinath/root,pspe/root,jrtomps/root,esakellari/root,veprbl/root,davidlt/root,satyarth934/root,jrtomps/root,beniz/root,dfunke/root,bbockelm/root,arch1tect0r/root,davidlt/root,CristinaCristescu/root,vukasinmilosevic/root,sbinet/cxx-root,satyarth934/root,simonpf/root,Y--/root,sawenzel/root,vukasinmilosevic/root,0x0all/ROOT,karies/root,arch1tect0r/root,omazapa/root,veprbl/root,sirinath/root,sbinet/cxx-root,omazapa/root-old,lgiommi/root,jrtomps/root,Duraznos/root,bbockelm/root,0x0all/ROOT,Y--/root,perovic/root,esakellari/my_root_for_test,beniz/root,olifre/root,sawenzel/root,agarciamontoro/root,sawenzel/root,mattkretz/root,mhuwiler/rootauto,simonpf/root,arch1tect0r/root,mattkretz/root,gganis/root,gganis/root,esakellari/my_root_for_test,esakellari/root,veprbl/root,bbockelm/root,omazapa/root,perovic/root,krafczyk/root,abhinavmoudgil95/root,sbinet/cxx-root,esakellari/my_root_for_test,abhinavmoudgil95/root,zzxuanyuan/root,buuck/root,sawenzel/root,Y--/root,evgeny-boger/root,buuck/root,zzxuanyuan/root,sbinet/cxx-root,satyarth934/root,esakellari/root,evgeny-boger/root,Duraznos/root,gbitzes/root,Duraznos/root,esakellari/root,smarinac/root,Y--/root,thomaskeck/root,agarciamontoro/root,CristinaCristescu/root,beniz/root,esakellari/my_root_for_test,Y--/root,smarinac/root,esakellari/my_root_for_test,root-mirror/root,pspe/root,zzxuanyuan/root,omazapa/root-old,zzxuanyuan/root-compressor-dummy,perovic/root,vukasinmilosevic/root,simonpf/root,georgtroska/root,satyarth934/root,sbinet/cxx-root,karies/root,omazapa/root-old,Duraznos/root,esakellari/root,mattkretz/root,mhuwiler/rootauto,karies/root,omazapa/root,bbockelm/root,karies/root,dfunke/root,agarciamontoro/root,veprbl/root,nilqed/root,pspe/root,BerserkerTroll/root,omazapa/root-old,zzxuanyuan/root,lgiommi/root,jrtomps/root,arch1tect0r/root,omazapa/root-old,zzxuanyuan/root,zzxuanyuan/root-compressor-dummy,perovic/root,bbockelm/root,nilqed/root,mkret2/root,vukasinmilosevic/root,BerserkerTroll/root,0x0all/ROOT,sirinath/root,mkret2/root,simonpf/root,zzxuanyuan/root,zzxuanyuan/root,davidlt/root,georgtroska/root,georgtroska/root,gbitzes/root,abhinavmoudgil95/root,beniz/root,gganis/root,satyarth934/root,buuck/root,simonpf/root,Duraznos/root,vukasinmilosevic/root,beniz/root,sawenzel/root,mkret2/root,evgeny-boger/root,root-mirror/root,georgtroska/root,gganis/root,simonpf/root,zzxuanyuan/root,olifre/root,CristinaCristescu/root,beniz/root,pspe/root,gbitzes/root,CristinaCristescu/root,simonpf/root,Duraznos/root,georgtroska/root,arch1tect0r/root,evgeny-boger/root,krafczyk/root,smarinac/root,perovic/root,Duraznos/root,thomaskeck/root,karies/root,BerserkerTroll/root,omazapa/root-old,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,omazapa/root,buuck/root,perovic/root,krafczyk/root,bbockelm/root,abhinavmoudgil95/root,olifre/root,root-mirror/root,BerserkerTroll/root,mattkretz/root,Y--/root,agarciamontoro/root,omazapa/root,mattkretz/root,BerserkerTroll/root,esakellari/root,sirinath/root,nilqed/root,smarinac/root,smarinac/root,davidlt/root,abhinavmoudgil95/root,abhinavmoudgil95/root,sirinath/root,vukasinmilosevic/root,agarciamontoro/root,BerserkerTroll/root,zzxuanyuan/root,Duraznos/root,arch1tect0r/root,lgiommi/root,thomaskeck/root,buuck/root,Y--/root,georgtroska/root,agarciamontoro/root,veprbl/root,gganis/root,krafczyk/root,sirinath/root,satyarth934/root,BerserkerTroll/root,gganis/root,vukasinmilosevic/root,bbockelm/root,Duraznos/root,georgtroska/root,0x0all/ROOT,arch1tect0r/root,beniz/root,satyarth934/root,agarciamontoro/root,mhuwiler/rootauto,bbockelm/root,evgeny-boger/root,vukasinmilosevic/root,mhuwiler/rootauto,mkret2/root,karies/root,satyarth934/root,lgiommi/root,davidlt/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,esakellari/my_root_for_test,jrtomps/root,perovic/root,omazapa/root,davidlt/root,pspe/root,sawenzel/root,davidlt/root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,karies/root,krafczyk/root,agarciamontoro/root,gbitzes/root,zzxuanyuan/root,olifre/root,beniz/root,CristinaCristescu/root,jrtomps/root,smarinac/root,abhinavmoudgil95/root,karies/root,root-mirror/root,omazapa/root-old,olifre/root,simonpf/root,gbitzes/root,buuck/root,jrtomps/root,perovic/root,smarinac/root,Y--/root,gganis/root,gganis/root,Y--/root,simonpf/root,0x0all/ROOT,mhuwiler/rootauto,lgiommi/root,agarciamontoro/root,davidlt/root,lgiommi/root,sawenzel/root,arch1tect0r/root,sbinet/cxx-root,root-mirror/root,davidlt/root,veprbl/root,evgeny-boger/root,gganis/root,olifre/root,esakellari/my_root_for_test,buuck/root,esakellari/my_root_for_test,thomaskeck/root,sirinath/root,beniz/root,Y--/root,sawenzel/root,omazapa/root-old,gganis/root,dfunke/root,sirinath/root,pspe/root,mkret2/root,georgtroska/root,gganis/root,omazapa/root,sirinath/root,mhuwiler/rootauto,jrtomps/root,dfunke/root,mkret2/root,dfunke/root,sawenzel/root,nilqed/root,mattkretz/root,smarinac/root,abhinavmoudgil95/root,0x0all/ROOT,mkret2/root,dfunke/root,smarinac/root,root-mirror/root,sbinet/cxx-root,esakellari/my_root_for_test,dfunke/root,georgtroska/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,lgiommi/root,lgiommi/root,karies/root,CristinaCristescu/root,olifre/root,dfunke/root,arch1tect0r/root,jrtomps/root,mkret2/root,veprbl/root,0x0all/ROOT,smarinac/root,nilqed/root,dfunke/root,omazapa/root,omazapa/root,sbinet/cxx-root,pspe/root,satyarth934/root,abhinavmoudgil95/root,zzxuanyuan/root,krafczyk/root,sawenzel/root,krafczyk/root,Y--/root,pspe/root,gbitzes/root,bbockelm/root,olifre/root,georgtroska/root,abhinavmoudgil95/root,evgeny-boger/root,nilqed/root,thomaskeck/root,veprbl/root,agarciamontoro/root,satyarth934/root,mattkretz/root,0x0all/ROOT,root-mirror/root,BerserkerTroll/root,mattkretz/root,esakellari/root,Duraznos/root,lgiommi/root,mhuwiler/rootauto,thomaskeck/root,root-mirror/root,pspe/root,gbitzes/root,esakellari/root,arch1tect0r/root,bbockelm/root,buuck/root,sirinath/root,mkret2/root,evgeny-boger/root,root-mirror/root,thomaskeck/root,dfunke/root,esakellari/root,gbitzes/root,root-mirror/root,mhuwiler/rootauto,esakellari/root,omazapa/root-old,vukasinmilosevic/root,pspe/root,krafczyk/root,gbitzes/root,nilqed/root,vukasinmilosevic/root,BerserkerTroll/root,CristinaCristescu/root,CristinaCristescu/root,dfunke/root,evgeny-boger/root,abhinavmoudgil95/root,omazapa/root,Duraznos/root,omazapa/root,bbockelm/root,olifre/root,olifre/root,beniz/root,perovic/root,esakellari/root,evgeny-boger/root,sawenzel/root,mhuwiler/rootauto,zzxuanyuan/root,sbinet/cxx-root,nilqed/root,nilqed/root,krafczyk/root,veprbl/root,olifre/root,mattkretz/root,jrtomps/root,zzxuanyuan/root-compressor-dummy,nilqed/root,sbinet/cxx-root,davidlt/root,omazapa/root-old,veprbl/root