KtCallResolver.collectAllCandidates().
KtCallResolver.resolveCandidates() and copy over remaining tests.