The Mid-Infrared Instrument for the James Webb Space Telescope, VI: The Medium Resolution Spectrometer. (4th January 2016)