Initialize cached filenames lazily

Closes #22751.
Set name of SoftwareSpec to owner name
Set owner of resources to SoftwareSpec object
Clean up SoftwareSpec and Resource initializers
valgrind: move older version to versions

Closes #22750.