CORE-5832 Refactored Donkey's /secured/edit-workflow endpoint.

Renamed to match the metadactyl /apps/{app-id}/pipeline-ui endpoint.
CORE-5832 Removed obsolete metadactyl edit-template endpoint.