Replaced removeTileSet with removeTileSetAt.
Fixed bug with TileLayer incorrectly still using tiles instead of cells.
Made getMaxGlobalId return 0 instead of 1 when there are no TileSets.