Added reading/writing of tile animations
Show tile animations in the map view

Currently there's no way to turn them off and it's all a little
unoptimized, but it works for tile layers, object layers and the brush
preview.
Added some code to support TMW-style animated tiles

This is a bit unclean but it's convenient for converting the tile
animations to the TMX format.