Common refactor and hostname fix script
Improve hostname fix script and add handler to call on change
Remove redundant packages
Merge pull request #16 from Woorank/hostname-fix

Hostname fix
Skip deimos install when mesos version 0.20 or higher
Merge pull request #17 from Woorank/cleanup

Skip deimos install when mesos version 0.20 or higher