Add init function to the SkeletonAnimation class.

This pull request related to the issue of **cocos2d-js** branch and this pull request: https://github.com/cocos2d/cocos2d-js/pull/1132