Manually implement scopes for ModuleSourceInfo

This allows for a faster contains(VirtualFile) check
Compute builtins directory url only once
Minor: Convert PackageIndexUtil to Kotlin
Minor: rename and refactor PackageIndexUtil#containsAny()
Cache result of getAllPossiblePackageClasses()

Move this utility from IDELightClassGenerationSupport to PackageIndexUtil