API: container: Add a recursive argument to _get_children.
timeline: Append missing layers when moving groups between layers

This was a missing feature of the newly added groups