Add stack_df for stacking using references (issue #145). New types:
StackedVector, RepeatedVector, and EachRepeatedVector.
Cleanups for stack_df, including a test case.