Metasploit::Model::Module::Path#was_named?

[#50752269]

Add named? helper that works with *_was attributes so named? checks
works with changes.