Refactor JavaTypeTransformer and ValueParameterResolver

Use an instanceof-chain on a JavaType instance instead of PsiTypeVisitor in
TypeTransformer. Add a special method to handle vararg types, use it in
ValueParameterResolver
Introduce JavaClassifier

JavaClassifier is a common type for JavaClass and JavaTypeParameter. In almost
all of the places JavaClass remains to be JavaClass, except for the resolution
result of JavaClassType, which can be a type parameter. Add an assertion that
JavaClass is created only for a class and not for a type parameter. Delete
different creations of JavaClass in 'idea' (where there can be a type
parameter) by changing the interface of util functions.

Delete JavaModifierListOwnerImpl, extract its methods into JavaElementUtil and
use these implementations for every JavaModifierListOwner

Continue refactoring JavaTypeTransformer to work with JavaType, not PsiType
Rename JavaClassType to JavaClassifierType
Migrate JavaTypeTransformer from PsiType to JavaType

Add more wrapper methods to JavaClassifierType.

Inline the utility method adjustTypeUsageWithMutabilityAnnotations to the two
places where it was used. Also add JavaAnnotationOwner and change signature of
JavaAnnotationResolver to take JavaAnnotationOwner, not PSI
Migrate JavaAnnotationResolver from PSI to JavaElement

Create a bunch of annotation argument classes, which serve as wrappers over
PsiAnnotationMemberValue class, but also have a Name
Rename JavaCompileTimeConstResolver to AnnotationArgumentResolver
Move classes around in java-specific parts of compiler

- move JetClsMethod and JetJavaMirrorMarker to 'jetAsJava' package
- move JetClsMethodImpl out of 'wrappers' packages
- move TypeVariableResolver to 'resolver' package, make it package-local
- move MembersCache and NamedMembers to 'scope', make the former package-local
Migrate SAMUtils from PSI to JavaElement

- create JavaTypeSubstitutor as a mirror for PsiSubstitutor
- copy-paste MethodSignatureUtil.areSignaturesErasureEqual() and migrate it to
  JavaTypeSubstitutor
- use a pair of method and substitutor instead of
  'MethodSignatureBackedByPsiMethod'
- add JavaClass.getDefaultType() which goes into JavaPsiFacade and creates an
  unsubstituted PsiClassType for the class
- green code

The only PSI usage left is TypeConversionUtil.erasure(), which needs to be
copied and migrated somehow
Refactor TypeVariableResolver

Delete 'context' field which was used only for debugging
Refactor JavaSignatureResolver

Now it has the only method returning Initializer, an object which can be told
to initialize resolved descriptors later, or to obtain these descriptors.
Delete useless methods, combine the remaining ones
Rename JavaSignatureResolver to TypeParameterResolver

Also rename 'parameterResolver' field to 'valueParameterResolver'
Move and rename JDR.ValueParameterDescriptors
Migrate the rest of resolvers from PSI to JavaElement

JavaMethodSignatureUtil needs to be handled specially later
hashCode, equals, toString for JavaElement
Migrate PropagationHeuristics from PSI to JavaElement

Aside from refactorings, minor changes in logic are made:
- to find out if a type of a value parameter is vararg ('ellipsis type'), we
  now check if the method is vararg and the parameter is its last parameter
  (instead of 'instanceof PsiEllipsisType')
- 'visitedSuperclasses' is now a Set: this better reflects what it's supposed
  to represent. Also result check of the 'add()' method on a List was useless
Add JavaValueParameter.isVararg()
getContainingClass() is never null for methods and fields
Refactor override resolution in JDR

Unify the code between JavaFunctionResolver and JavaPropertyResolver
Get rid of JavaBindingContext.IS_DECLARED_IN_JAVA

Create specialized Java descriptor classes instead
Get rid of SAM_ADAPTER_FUNCTION_TO_ORIGINAL

Use SAM adapters hierarchy instead