Added animation-iteration-count property

I updated the animation functions to include $count parameter for setting the animation-iteration-count CSS property (i.e. animation-iteration-count: infinite). I mostly did this so I could get the "flash" animation to repeat indefinitely, but it allows animations to also be repeated any number of times. The default setting is 1.