Design of the mercury handling system for a muon collider/neutrino factory target