Bugfix bnc#886238

Fixed the bug: If the /etc/resolv.conf is broken, "hostname -f" could not say
the hostname of the current host.

Resolution: Added a new entry in the /etc/hosts file. (IP, FQDN & Hostname)
I think it would be better to use  the template variables ```@node_name``` and ```@node_fqdn``` here. Those are currently only set in the ```master``` branch (but cherry-picking c9ce57b74 and 1d772813 that into stoney should be no problem once we have this fixed in master)