Removed references to templates in EditWorkflowEvent.

Refactored EditWorkflowEvent::getLegacyAppTemplate to getServiceWorkflowJson.