Pass deployment record to deploy cmd

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Rename cpideployer to cpi

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Change Release to interface

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Refactor cpi installation to pull out release extraction

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Wrap cpi release validation in event step

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Split stemcell extract from upload

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Refactored extract out of stemcell manager

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Refactor deploy validation

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Extract sha1Calculator to crypto

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Move stemcell repo to config

Remove sha1 from stemcell record

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Refactor deploymentRecord to diskRepo

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Allow updating current stemcell in stemcell repo

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Check if stemcell was deployed

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Verify and save current release

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Validate sha1 of deployment manifest before deploy

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Test skipping deploy

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>