CORE-5832 Added /apps/:id/pipeline-ui response schema.

Refactored metadactyl.routes.domain into metadactyl.routes.domain.app, and added metadactyl.routes.domain.pipeline.
CORE-5832 Added /apps/:id DELETE endpoint.

Also added initial refactor of delete-workflow endpoints.