High-redshift Quasars as Probes of Galaxy and Cluster Formation