[director] Added snapshot deployment api
[cli] Added take a snapshot for a deployment