Herschel ATLAS: The cosmic star formation history of quasar host galaxies