Add save/load functionality for TileCache

Similarly to the tileset save/load, this saves/loads the tilecache data to a binary file.