Consolidate refernce marking in resolveName to allow marking aliases correctelly
Consolidate refernce marking in resolveName to allow marking aliases correctelly

nojvek/TypeScript,alexeagle/TypeScript,jeremyepling/TypeScript,jeremyepling/TypeScript,Eyas/TypeScript,synaptek/TypeScript,thr0w/Thr0wScript,thr0w/Thr0wScript,alexeagle/TypeScript,donaldpipowitch/TypeScript,nojvek/TypeScript,minestarks/TypeScript,jwbay/TypeScript,Microsoft/TypeScript,donaldpipowitch/TypeScript,DLehenbauer/TypeScript,mihailik/TypeScript,mihailik/TypeScript,basarat/TypeScript,minestarks/TypeScript,weswigham/TypeScript,synaptek/TypeScript,Eyas/TypeScript,erikmcc/TypeScript,erikmcc/TypeScript,Microsoft/TypeScript,DLehenbauer/TypeScript,jwbay/TypeScript,donaldpipowitch/TypeScript,erikmcc/TypeScript,weswigham/TypeScript,microsoft/TypeScript,basarat/TypeScript,Eyas/TypeScript,kitsonk/TypeScript,DLehenbauer/TypeScript,kpreisser/TypeScript,minestarks/TypeScript,RyanCavanaugh/TypeScript,kitsonk/TypeScript,vilic/TypeScript,vilic/TypeScript,RyanCavanaugh/TypeScript,mihailik/TypeScript,microsoft/TypeScript,TukekeSoft/TypeScript,vilic/TypeScript,alexeagle/TypeScript,SaschaNaz/TypeScript,nojvek/TypeScript,nojvek/TypeScript,kpreisser/TypeScript,chuckjaz/TypeScript,synaptek/TypeScript,basarat/TypeScript,Eyas/TypeScript,microsoft/TypeScript,RyanCavanaugh/TypeScript,chuckjaz/TypeScript,chuckjaz/TypeScript,Microsoft/TypeScript,DLehenbauer/TypeScript,kpreisser/TypeScript,jwbay/TypeScript,synaptek/TypeScript,TukekeSoft/TypeScript,jeremyepling/TypeScript,donaldpipowitch/TypeScript,SaschaNaz/TypeScript,jwbay/TypeScript,vilic/TypeScript,erikmcc/TypeScript,kitsonk/TypeScript,mihailik/TypeScript,thr0w/Thr0wScript,weswigham/TypeScript,SaschaNaz/TypeScript,chuckjaz/TypeScript,basarat/TypeScript,SaschaNaz/TypeScript,TukekeSoft/TypeScript,thr0w/Thr0wScript