Extend recursion to templates which are not marked for args removal
Extend recursion to templates which are not marked for args removal

this is important for cases which imply a transformation of the kind
A<int, double, 3> --> A<int>
in presence of, for example, collections or other templates:
std::vector<A<int, double, 3>> must become std::vector<A<int>>
even if vector is not marked for template arguments manipulation.
Cover pointer and {r,l}reference types in KeepNParams function.
Additional comments and cosmetics were added.

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