When using AccountingStorageType=accounting_storage/mysql zero out the
database index for the array elements avoiding duplicate database values.
Merge branch 'slurm-14.03'

Conflicts:
	src/slurmctld/job_mgr.c