Implements save/load for Pipeline and PipelineModel, assuming that all stages are writable.
[Github] Pull Request #9674 (jkbradley)