When using MySQL and PostgreSQL the database host was always set to
localhost. Now it is possible to install the server using a specific
database host by setting the environment variable "$DATABASEHOST"; for
backwards compatibility, when none is set "localhost" is used by
default.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>