RAII object for refining grid nodes.
When a grid node is refined, the children are allocated and this object returned. This object allows iterating over the grid children while the parent is still alive. When this object is destroyed, the parent grid node is remove from the grid;