Add packages to CouchDB.

Second iteration, now every package is a document.