TiledMap: Use callback for object handling instead of overridable function

It does not always make sense to have the object handling code
in the same class as the derived TiledMap object.