Fix for KT-6312: Compiler crashes accessing inherited property of class object

    #KT-6312 Fixed
Add ability to create memoized functions with custom maps

 - Remove cast in ResolveSession class
Rewrite to Kotlin (file rename): LockBasedLazyResolveStorageManager
Rewrite to Kotlin: LockBasedLazyResolveStorageManager
-- Remove return types
-- Use delegate feature
Replace direct usages of TopDownLazyResolveForJava with facade