Create JavaResolverCache

An abstraction over BindingTrace which will be used in JDR
Remove BindingTrace from Java function and property resolvers

Pass a throwing trace to OverrideResolver since in the case of Java member
resolution there's no JetDeclaration for any member and hence
CANNOT_INFER_VISIBILITY diagnostic can not be reported anywhere
Extract enum method utilities from DescriptorResolver

Create overloaded versions which accept JetType as a parameter to use them in
JDR where there's no deferred types