support adding output series to a pail and merging series in pail to form master dataset

Pretty similar to recent changes to trends processing.