Set job class attributes in __init__

The job class attributes have grown to include complex data
structures that may accidentally be modified in-place.  Ensure
that each time a Job is constructed, it is initialized properly.

Nodesets were erroneously relying on this behavior, to correct
this, NodeSets must be comparable, so implement equality checks
for them.

Change-Id: I7eb22fc48f7106e963b12503c30a01fbfba27b11
2 files changed