Defer LayerGroup iteration until snapping phase

This makes it possible to update the contents of the LayerGroup after it has been added as a guide layer. This is useful when the contents are fetched as JSON depending on the map bounds for example.