code: def new_document(self):
          
          doc = Document(self, None)
          doc.create()
          super(CouchDatabase, self).__setitem__(doc['_id'], doc)
          return doc
docs: Creates a new, empty document in the remote and locally cached database,
          auto-generating the _id.
  
          :returns: Document instance corresponding to the new document in the
              database