Beijing's increase in military spending reflects an overall slowdown in the economy but keeps pace with the fast-changing trend in defence spending across the world.