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
Merge pull request #32 from ewilligers/simplify-animation-creation

Turn AnimationRecord functions into methods