Add total animation duration limit.

Add total animation duration limit endpoint to control the time for whole iterative delay animation.

Close #1117.
Probably could word this more clearly, if the intent is to specify that the method sets the maximum animation time. Maybe name it `maximumTotalDuration`?