Change PipelineDefinition from being a GraphDefinition to *containing* a GraphDefinition.
I tried to avoid breaking changes here, notably
- only changing PipelineDefinition constructor by adding graph_def
- adding proxy methods for graph properties. Since i highly doubt users hit any of these - I could also migrate the callsites to go through .graph