Work with chained offsets.
Add tests.
Merge remote branch 'upstream/master' into chain_offsets
Review feedback.
Merge remote branch 'upstream/master' into chain_offsets
Feedback implemented.
Merge pull request #1084 from arjclark/chain_offsets

#1048: Enable chaining durations