Update handleDeclNew to be more consistent with namespace handling
Update handleDeclNew to be more consistent with namespace handling

Additional namespace declaration do not come in as a canonical decl.
We also ought to support namespace not declared in the global scope
(i.e. nested namespace).

This reapplies commit 970720621087f2be0bf68477e4ab8da91f3e52e5
with additional comments.

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