Fix alias resolution issues

Fix behavior to match dojo loader wrt return of empty string from alias resolution and add check for excessive recursion in resolver.  Add trace logging calls to resolver methods.