Extend range of compatible versions
standard library: 'max' and 'min' functions reimplemented to avoid unnecessary null checks
(as proposed for minBy/maxBy in https://github.com/JetBrains/kotlin/pull/324)
Added max() and min() for CharArrays.
Stable order for generated tests
Add more info to exception message (EA-52595)
Revert extending range of supported versions (ba96538)

Incompatibility in ClsFileImpl file:
java.lang.NoSuchMethodError: com.intellij.psi.impl.compiled.ClsFileImpl.<init>(Lcom/intellij/psi/PsiManager;Lcom/intellij/psi/FileViewProvider;)V
Minor, prettify code
Don't treat values of type "Unit?" to be always equal to Unit.VALUE

Two changes here: StackValue.Constant does cast iff value is non-null (if null,
no cast between classes is really needed, as null can be an instance of
anything), and codegen for safe qualified expressions uses correct type for the
expression

 #KT-4265 Fixed
Return Unit.VALUE if Unit or Any is expected

StackValue.coerce will do its job in casting void to Unit correctly

 #KT-4212 Fixed
Make anonymous class inner
Minor, don't do unnecessary mapType
Minor cleanup in FunctionGenerationStrategy and inheritors
Collect overridden descriptors for property accessors to LinkedHashSet
Unwrap fake override of original

This fixes a couple of verify errors related to the order of supertypes in the
class declaration
Fixed exit code passing on Windows XP
Added extra output for tests if they fail. Muted test on "bad" agents.
Minor, print internal class names in CallableMethod.toString()
Add regression test for KT-3634

 #KT-3634 Obsolete
Fix VerifyError for 'when' of type 'Unit?'
added info about smart casts to diagnostic tests