Add "unknown" status and use for unitialized jobs

Add a 0 status for jobs which have an unknown status and use this
status instead of a NULL value.