Add total animation duration limit.

Add total animation duration limit endpoint to control the time for whole iterative delay animation.

Close #1117.
I would change the last part to
"... can be configured with maxIterativeDelay" or similar.