Commissioning of the MedAustron injector for carbon ion treatment beams