State: add extra information about states

The class now includes general phases of the process, and
an "active" flag.  These should provide helpful information
when attempting to display the job status.