Nine people have been detained after unrest that erupted during a protest over last week's deadly roof collapse in a northern Serbian city that killed 14 people and injured three.