Added port recognition to db settings

When a port has been added to the db host (with „:<port>“), this option
is used in the PDO connection then instead of just using it as host
name.