Initial support for repeatDur, min, max

We now support simple scenarios where repeatDur, min, max are used.
We should test using min/max with multiple iterations.