Use Metasploit::Model::Module::Type

[#50752269]

Replace uses of Msf::MODULE_* with Metasploit::Model::Module::Type::* so
same constants are used in metasploit_data_models and
metasploit-framework.