Converted SubstitutingScope to Kotlin
Simplified code
Converted LazyImportScopy to Kotlin
Minor code simplifications
Converted 2 more JetScope implementations to Kotlin
Workaround for compiler's bug