add localhost to /etc/hosts as it seems to be a prerequise for postgresql installation

starting the postgresql database was failing because localhost was expected to be present in /etc/hosts.
I propose here to add it in addition in the hosts as it was previously replaced by actual host name.