Dozens of Iraqis have died in recent days in clashes between protesters and the security forces during street demonstrations that caught the authorities by surprise.