XD-857 Generalize FileModuleRegistry -> ResourceMR

Note that this does not change the testmodules/ directory. Also, it does not try to fix CompositeModuleRegistryTests, which went sideways some time ago (effectively uses two registries which are backed by the same files, which was *not* the initial intent)