Add support for fully qualifying a template argument that is itself a template.
Add support for fully qualifying a template argument that is itself a template.

This is the case for example with gcc's

  __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool,true>

where __pool is actually a class template.

Also reduce (a little bit) code duplication.

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