Hadoop deployment process improvements.

Cherry pick of following pull resquests from "crowbar : release/hadoop-2.4/master"  to " crowbar : release/hydrogen/master " :
https://github.com/crowbar/barclamp-deployer/pull/188
https://github.com/crowbar/barclamp-deployer/pull/189