Refactoring in SofQWMoments

Refs #10340
Add history of a WS group to children on algo

Refs #10340
Add commenting to changes

Refs #10340
Merge remote-tracking branch 'origin/bugfix/10340_algorithm_history_for_workspace_group_output'