Patch to enable external, custom map loaders to set owned textures on the map

Custom map loaders won't be able to set owned textures when not residing in the *.tiled namespace, hence the modified switched to "public".