Implemented /rooms/$roomid/state API.