Complete rewrite of TClassEdit::ResolveTypedef.
Complete rewrite of TClassEdit::ResolveTypedef.

Properly resolve all typedefs including those used a part of the scope.

The implementation tries to reduce the number of memory copy (in cases where
there is no typedef, there should not be any copy or string creation ... this is
not yet the case in all cases as the underlying routines (GetPartiallyDesugaredType
for example) sometimes returns a 'new'/'different' type eventhough there is
no effective differences.  This implementations deals better with nested
typedef, mix of const, pointer and references and is more consistent with
spaces.

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