Updated database connection handling via pg_dump.

Connection arguments for `pg_dump` command are built from Rails.configuration.database_configuration` for current environment.