issue #5685: skip Bezier initWithDuration
issue #5685: add Bezier initWithDuration
fix indentation
Merge pull request #597 from joshuastray/use_new_in_sample

fix BezierBy/BezierTo initWithDuration bug