Add. revert() functionality.

Change-Id: I03f6e7ea504d7fa57800452a7f997ad32b8c0019
Add. method _get_latest_deploy_tag to fetch the latest deploy tag..

Change-Id: If58b873e429e6fa90603316662d07dfc36354488