Create dump.py

Taken from Couchdb python for Dumping DB's