Use the FQDN to setup the HOSTNAME and VHOST files.

The HOSTNAME environment var only contains the first part of the domain
name. Use the fqdn to have it entirely.
Set the hostname of the ci receiver correctly.
Merge pull request #310 from plietar/fqdn

Use the FQDN to setup the HOSTNAME and VHOST files.