Inflation propelled by booming oil prices is squeezing the Gulf's middle class and setting off strikes, demonstrations and occasional riots.