Add yoob.StateMachine.
Remove yoob/animation-frame.js.