fix setting hostname to instanceid
remove 127.0.1.1, update script for better localhost resolution
remove bug in hostname setting script
Merge pull request #3 from mostlygeek/set-hostname

fix setting hostname to instanceid