Cosmic Star Formation, Gamma-Ray Burst Rate at high redshift and Cosmic Chemical Evolution