Waves of demonstrations, sometimes violent, across several European countries have shown mounting grievances and pent-up anger over inadequate housing, poor education and higher living costs.