Script classes are public in LAZY mode
Account for script classes in getAllDescriptors()
Add 'rv' property to getAllDescriptors() in script classes
Properties from primary constructors added to getAllDescriptors()
In non-lazy mode, script classes are normal MutableClassDescriptors
Top-down analysis accounts for script classes too
Minor. Rename method BodiesResolveContext.getClasses()

This is done to avoid the clash of meanings with TopDownAnalysisContext.getAllClasses()
Unused mechanism removed

Incomplete traces are not needed for light classes any more, because light classes use lazy resolve
Added the directive for allow to use runtime classes in intention tests.
JS backend: - test both versions of Set(Complex and Primitive)

 - added size in PrimitiveSet
 - fixed contains in PrimitiveSet

 #KT-4796 fixed
JS backend: test both versions of Map(Complex and Primitive)
Minor, remove read check in WriteThroughScope

Without this, it's difficult to debug errors related to writing to the already
locked scope: if you set a conditional breakpoint in checkMayRead() on a
scope's toString(), its toString() will call getContainingDeclaration(), which
will call checkMayRead() again, resulting in StackOverflowError
Don't serialize signature to string to check against toString/hashCode/equals
Regenerate tests
Fix StackOverflowError on cyclic hierarchy Java<->Kotlin

Report errors not only when superclasses are MutableClassDescriptorLite, but
any classes

 #KT-2115 Fixed
Consider outer classes when topsorting hierarchy

- when building a topsorted hierarchy, consider not only edges to the class'
  superclasses, but also from inner/nested classes to their container. This
  effectively means that a class cannot inherit from its nested class. Similar
  cases (see the tests) are disallowed in Java.
- filter classes by their presence in TopDownAnalysisContext, not by being a
  MutableClassDescriptor (otherwise analysis for local classes ends up trying
  to do something with outer superclasses)
- delete outdated comment: topsort is needed not only for better diagnostics,
  but also for correct order of fake overrides construction
Drop MutableClassDescriptorLite

Inline it into MutableClassDescriptor
Minor, add assertion message
Minor: use directive with current ABI version in test data
Minor: fix always null warning