implemented a dbdump functionality

This is the server-side part of the functionality. The client part is implemented here: https://github.com/openshift/rhc/pull/519