Councillors in Edinburgh are to be offered personal safety alarms amid fears over attacks and abuse.