Ninja Multi-Config: Restore rebuild_cache and edit_cache targets
Since !5612 (merged) we were not generating these targets. Restore them and add a test.
Fixes: #21722 (closed)
Since !5612 (merged) we were not generating these targets. Restore them and add a test.
Fixes: #21722 (closed)