Adding ability to get nextFrame of an animation.

As in discussion http://www.cocos2d-x.org/boards/20/topics/29701 pull request aiming to make possible to get in which frame is the animation.