Add missing requires to templates

MSP-9821

setup.rb for class and layout was missing so if the module template was
not loaded first, then YARD would error out when trying to resolve
::Metasploit::ERD.