KT-3575, KT-2297 Inserting pair for "${": reverting to use KotlinTypeHandler

(with disabling JetPairMatcher for this case)
Minor. Replaced for with for each.
Added dependency class resolver -> function resolver.
KT-3577 Stack overflow when resolving SAM adapter (from completion, show parameters, etc)

 #KT-3577
Test for KT-3331 RuntimeException in frontend-java at TypeVariableResolverFromTypeDescriptors.getTypeVariable()

 #KT-3331 obsolete
Minor. Fixed assertion message.
Fixed loading SAM interfaces when they inherit abstract methods.
Renamed Name.getName() and FqName.getFqName() to asString()
Merge remote-tracking branch 'upstream/master'

Conflicts:
	idea/tests/org/jetbrains/jet/editor/TypedHandlerTest.java
KT-3161 No KotlinDoc formatting support in IntelliJ
Fixed compilation after renaming Name.getName()
 to asString()
Merge remote-tracking branch 'upstream/master'
KDoc lexer & parser
KT-1545, KT-3161 KDoc formatter