CouchDB: add releases to the DB

Not strictly necessary, but maybe easier this way.