For #25116 - Renamed channel to be output for the Shotgun Write Node.

- This change is backwards compatible to support either output or channel keys in the templates.
- Also includes a couple of bug fixes that were found during QA!