Asian markets have risen, reversing heavy morning losses and tracking a surge in Shanghai after China announced new measures to staunch a mainland rout.