Added `loop` and `autoRewind` to `BitmapAnimation`.

Now you're able to manage the animation loop and also if it needs to rewind or not.