Added an init method with a repeatCount parameter since the init code called setupAnimationGroup which resulted in the animationGroup always having an INFINITY repeatCount
Merge pull request #9 from boctor/master

Added an init method with a repeatCount parameter since the init code ca...