Mdm::Client spec, sorta

Add a spec for Mdm::Client
Remove association to Mdm::Campaign as it doesn't exist anymore
Migration to remove campaign_id from the table
mdm::Event Specs

Add factory and specs for Mdm::Event
ExploitAttempt Specs

Add specs and factory for ExploitAttempt
Use existing event factory

pro had an event factory, move that over to Mdm and use it
ExploitedHost spec

ExploitedHost spec added
uncovered that the model does not match the schema?!
HostDetail spec

added spec and factory for Mdm::HostDetail
Add associations to hosttag spec

Mdm::HostTag spec didn't test associations
Added appropriate specs
not much to see here
Remove unused ImportedCred model

ImportedCred model is not used anywhere in
framework or Pro. Removing it.
Remove improper relation on Exploitedhost

Exploitedhost had a belongs_to workspace that
was incorrect. Workspace gets exploited_hosts
throguh hosts
Specs and Factory for Mdm::Listener

Coverage for Mdm::Listener
Loot specs

Add coverage for Mdm::Loot
NexposeConsole coverage and better port validation

Add coverage for NexposeConsole
Add better port validation to Nexposeconsole and Listener
Mdm::Note coverage added

coverage for Mdm::Note
Add missing assoc test to Ref

Mdm::ref was misisng an association spec
mdm::Report coverage
Reporttemplate Spec plus delete_file callbacks

Tested before_destroy callbsacks to delete_file
Route Spec

just tests the associations atm
'minor callback test
Session coverage, and upgradeable? fix

Add coverage for Mdm::Session
upgradeable? was broken and returned nil instead
of false
SessionEvent assoc