For animations loaded from the collada file, automatically calculate the animationDuration

Refs #2172