Introduce ModuleDescriptor#isFriend(ModuleDescriptor)

Use it to allow friend modules to see internal members
Make test source module a friend of production source module
Do not throw if function from index cannot be resolved in current module

Valid situation if function is not among module dependencies