Cosmological Evolution of the FSRQ Gamma-ray Luminosity Function and Spectra and the Contribution to the Extragalactic Gamma-ray Background Based on Fermi-LAT.