Add some regression tests to check loading of groups and generators from various versions of the s-expr PCB format.
Add some unit tests for reference image saving/loading. Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16334