Extract sha1Calculator

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

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Move agentclient.ApplySpec to applyspec

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Explicitly specify json format for agent arguments

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Extract job rendering to jobRenderer

Signed-off-by: Maria Shaldibina <mshaldibina@pivotal.io>
Move erbrenderer to templatescompiler

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

* Rename InstanceUpdater to Instance
* Extract templates generator
* MicroDeployer takes in only instanceFactory
* DeployCmd takes in only microDeployer
* Cmd:Factory constructs all instanceUpdater factories

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

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