A student has been arrested while another is on the run after a shooting occured at a high school in southern France in which the head teacher was targeted.