Use Metasploit::Model::Module::Rank

[#50752269]

Also add missing rank_spec.rb.