The eyes of the world have been on China as global leaders gathered for the Shanghai Cooperation Organization Summit in Tianjin, and then moved on to Beijing for a huge military parade to mark 80 years since the end of the second world war. So what have we learned from the events?