Add animation Python API for many functions to Document class.
Also added a node API option for setting Use In Timeline
D16462 BUG:391666