How Pitance Versions Documents in CouchDB