added checkHosts and installRemotes
install based on role of master or remote
Merge pull request #20 from wplu/feature/install-resmgr-5

Feature/install resmgr 5