Fix for NPE
Converted FilteringScope to Kotlin
Converted SubstitutingScope to Kotlin
Simplified code
Converted LazyImportScopy to Kotlin
Minor code simplifications
Converted 2 more JetScope implementations to Kotlin