Turn AnimationRecord functions into methods

Turn the following functions into methods on AnimationRecord
- createTimingInput
- createEffectOptions
- createAnimation
- createKeyframeAnimation
- createMotionPathAnimation

Rename checkSchedule to processingPendingRecords

Minor lint fixes