Search For High-Mass Dimuon Resonances And Study Of Endcap Muon System Neutron-Induced Background Hits With The Compact Muon Solenoid Detector