AnimatedTile support in TmxMapLoader

AnimatedTiledMapTile doesn't support variable animation intervals, while the TMX format does. As a result, I set the interval in the frame loading loop, but only the last value gets used.  Good enough for me.  We can extend the AnimatedTiledMapTile in the future if we choose, and update the loader accordingly.

The TMX format is backwards-compatible with clients that don't support animations.  To do this, animated tiles replace the ids of static tiles (which may be used in the animation) so that Old clients will "see" a static tile. For example:

Tile 1 - Static tile
Tile 2 - Static tile
Tile 3 - Animated tile of Static Tiles 2, 3, and 4.
Tile 4 - Static tile

Static Tile 3 above is replaced with Animated Tile 3 if the client supports it.  Static Tile 3 exists, but only during loading really.  So we need to create all the Animated Tiles and store them in a separate array until they are all created so the Static Tile references can be resolved.  We then overwrite the Static Tiles in the tileset at the end.

Thanks Tomski!