Parse arrayjob elements in the job log messages

It should match messages like this one:

09/28 01:47:02  job '539[994]'  State:   Canceling  Expected State:    Running