Police fired water cannon, stun grenades and teargas as protesters storm the Rio de Janeiro state legislature during anti-austerity demonstrations.