fixed #4914:add cc.AnimationFrame.create and refactor ctor