db: add pg_dump wrapper

Change-Id: I5dac42b5991f913ae5c1fccc4436eaffbb420195
Signed-off-by: Eli Mesika <emesika@redhat.com>