Make the DeploymentActions generic to support RunnableSpec.
Rename properties to meet runSpec names.
This is the first step to make deployments aware of pods - mostly to get the types right.
Missing functionality: listen to instance events, handling instances instead of tasks.
Will do this in a separate PR once the events are available.