Violence in schools has become such a serious problem that one Edinburgh teacher officially requested self-defence training.