I changed the order so hostname is set before the /etc/hosts file is modified. This prevents a problem on amazon where the hostname is incorrect and is added to the hosts file

Conflicts:
	templates/server_setup_scripts/ubuntu_12.04_master_script.sh
Append to logs instead of erasing them with every pass
Open up postgres permissions past subnet due to amazon provisioning on
random subnets.