Fix the resolveName function
Fixing comments
Merge pull request #971 from Microsoft/fixResolveName

Fix the resolveName function
Address PR feedback
Make chainedMessage, terminalMessage, and containingMessageChain optional
Merge branch 'master' into overloadResolution