Add option to use deployment on creation

Call use deployment when a deployment is created so that the newly
created deployment is default for future operations.

Change-Id: I3d223336d221f4794b3912fea8a381a0c4934aa5
Merge "Add option to use deployment on creation"