State: add unknown state "?"

This is the default value of the job.state column.
State: add class method to look up state names