Hadoop deployment process improvements.

Cherry pick of following pull resquests:
https://github.com/crowbar/barclamp-deployer/pull/188
https://github.com/crowbar/barclamp-deployer/pull/189