added loopcount to animations, so you can set how many times an animations should loop
added a loop callback, so you can set a function to be called when the number of loops is reached (when the animation ends)
Merge pull request #168 from spilgames/167-animatable-loopcount-callback

167-animatable-loopcount-callback