When host name is changed, update /etc/hostname
Merge pull request #315 from Zentyal/jag/core-change-hostname-set-hostname-file

When host name is changed, update /etc/hostname