Students and adults are among 10 victims who were killed after a gunman opened fire at a secondary school in the Austrian city of Graz.