Module::Class cache construction

[#56005352]

Msf::Module classes can be constructed for all module and payload types
and their metadata saved as Mdm::Module::Classes.