Allow directory and archives for Metasploit::Model::Module::Paths

[Finishes #53474577]
[#50752269]

Add #archive? and #directory? methods to Metasploit::Model::Module::Path
and replace the directory validation with a custom validation method
that checks if the #archive? or #directory? is true.  Since
Metasploit::Model::Module::Path was the only model using
DirectoryValidator, it is removed.