Merge branch 'master' of github.com:MarkDickinson/scheduler

Conflicts:
	src/CHANGE_HISTORY.txt
	src/jobsched_cmd.c
	src/schedlib.c
	src/server_global_data.h
Untested updates made as a result of valgrind output.
Untesed as my dev server is dying so I need the changes stored for a while.