Fix get database parameters by using ezpublish.connection

This is an update to fix the fetch of the database parameters.

See https://github.com/ezsystems/ezpublish-community/pull/115 for more info