Close files before fork/exec of slurmctld programs

PrologSlurmctld, EpilogSlurmctld, MailProg, etc.
Add SLURM_CLUSTER_NAME env var

Add SLURM_CLUSTER_NAME to environment variables passed to PrologSlurmctld,
Prolog, EpilogSlurmctld, and Epilog.