Bug fixes and some minor adjustments.

Added:
	- Reset all completed jobs to pending.
	- More action messages.

Bug:
	- Forgot to make a call to single.py in the cron task
	  to prevent two pjs_agent running at the same time.
	- Small bug while looking for program name in PATH.