Add *_collision methods to Mdm::Module::Path

[#50752269]

Metasploit::Framework::Module::Path already had #name_collision and
 #real_path_collision and adding them to Mdm::Module::Path always code
sharing between
Metasploit::Framework::Module::PathSet::{Database,Memory}.