Prepare for KT-5420 - Copy files before patch
Memory leak in PermGen of Kotlin Gradle plugin when demon is used (KT-5420)

Stop background thread in Intellij Idea api and clear thread locals to allow gc the created class loader

 #KT-5420 In Progress
Moved containsReifiedTypeParameters to DescriptorUtils
JVM Backend: always inline callable containing reified TP
Refactored tests using Array constructor:

Some moved to tests with stdlib
Some changed to use arrayOfNulls
Added inline function "Array" into stdlib

It has the same signature and semantics as Array constructor had
Also made Array constructor private and accepting no arguments
Removed codegen of Array-constructor with lambda
Added tests for stdlib Array constructors
Simple workaround for problem described in KT-6437

JS backend generate invalid code when inlining within constructor using property
Drop ArrayGenTest, move test case to generated
Minor: Remove unnecessary check for test sources (reverted earlier commit)
Call Hierarchy: Filter out usages inside of import directives
Change Signature: Retain parameter modifier list
Quick Fixes: Add test for KT-6430 (Create parameter quick fix inserts platform types into Kotlin code)
Change Signature: Add test for KT-6410 (Change signature on constructor inserts fqName for newly added parameter type)
Change Signature: Do not report conflict of object member with itself (available through the class object)
 #KT-6345 Fixed
Quick Fixes: Add test for KT-5922 (QuickFix to change lambda signature doesn't work with SAM conversion)
Create parameter from usage: Support UNRESOLVE_REFERENCE_WRONG_RECEIVER diagnostic
 #KT-6431 Fixed
Change return type quick-fix: Add support of constant expressions
 #KT-6260 Fixed
 #KT-6404 Fixed
Minor: Use short type names in super-function prompt dialog (find usages and refactorings)
 #KT-6298 Fixed