CORE-5765: updated the edit-workflow and copy-workflow endpoints so that they retrieve the "template definitions" for external apps from Agave