Rename NodePetriMixin to TaskPetriMixin

It isn't used by dag so the name was too general.
Simplify mixin hierarchy

Originally it was meant to be utilized for both node types, but as we
switch to just tasks it can be simplified.
Allow method to generate its own petri
Reduce some duplication