Minor code cleanup and formatting changes.
Fix issue with association hash not getting the correct index which
could result in seg fault.
Fix salloc/sbatch -B segfault.

Bug 1289
Do not treat lack of mpi_fini as error

Log Cray MPI job calling exit() without mpi_fini(), but do not treat it as
a fatal error. This partially reverts logic added in version 14.03.9.
bug 1171
Addition to commit 7f899cf080044 to handle hash issues better instead of
creating possible memory corruption when a hash isn't found.
Merge branch 'slurm-14.03' into slurm-14.11

Conflicts:
	src/plugins/task/cray/task_cray.c
Merge remote-tracking branch 'origin/slurm-14.11'

Conflicts:
	src/common/assoc_mgr.c