[IMP] Option to permit custom dump for backup

This improvement is necessary for future migrations.

It permits the user to get the original PostgreSQL custom dump that we
use to have until version 8.0.

@rim-odoo 
There it is, new commit. I will squash them afterwards if everyone is okay with it.