The MUSE Hubble Ultra Deep Field Survey. I. Survey description, data reduction, and source detection