Merge remote-tracking branch 'origin/master' into feature/8720_generatePyScript_documentation
Updated documentation. Refs #8720.

- Made clearer that generatePythonScript can output the content into a variable OR Python script file.
Merge branch 'feature/8720_generatePyScript_documentation' into develop