Fix OOIION-1258: Edit support for Deployment

Added support for preparing Deployment resources for edit in the UI.

Also added assign_device_to_deployment et al to observatory_management operations, see https://jira.oceanobservatories.org/tasks/browse/OOIION-936

This does not yet remove the old deploy_xxx operations to avoid ripples.