WIP: deployments POC

Don't directly reference another APIObject from within an APIObject.  Instead, you need to extract any fields that should be copied over into a `DeploymentInputs` struct, embed it here, and embed it in DeploymentConfig as `DeploymentTemplate`.