Better memory cleanup in tests
Set all candidates (empty collection) if no candidates found
Added argument to parameter mapping to resolved call
Reformat html test data for DiagnosticMessageTest
Refactoring: moved code
Moved check for not generic call to CandidateResolver
Refactoring: moved code
to 'completeTypeInferenceDependentOnExpectedType'
Refactoring: removed ResolutionResultsCache.MemberType
Complete type inference for all candidates
Complete type inference for nested calls
inside non resolved invocation
Trace usage in renderer replaced with usage of argument to parameter map
Substituted special error type for not inferred parameter

Rendered it as T (of red color) in the renderer HTML_FOR_NOT_INFERRED_TYPE_PARAMETERS
 instead of '???' without information about type parameter
Refactoring: use ResolvedCall instead of ResolvedCallWithTrace where possible
Rename: ResolvedCallWithTrace -> MutableResolvedCall
Refactoring: separated VariableAsFunctionResolvedCall interface and implementation
Used MutableResolvedCall instead of ResolvedCallImpl
during resolve process
Removed 'getCallToCompleteTypeArgumentInference'
Invoke 'markCallAsCompleted' directly after completing inference for call
Fixed bug: do not lose all candidates when updating status
to success
Rewrote rendering a resolved call to kotlin
Refactoring: extracted 'renderParameter' function