The review found the pupil's death was "potentially avoidable" and said the Scottish government should consider legal changes to give teachers more power to search pupils and to crack down on online knife sales.