Add MapReduceJobState adapted from Ambrose to pigvisualizer. Fix build.