Allow getting all object layers from TiledLayers

Sorry about the whitespace changes :(