Use 127.0.1.1 for local host name alias

Fixes #91
Remove sed magic to set /etc/hosts for Debian templates

Hosts file is changed according to
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
Update /etc/hosts for Ubuntu templates

Change the Ubuntu hosts file similar to Debian