tiny helper to put a design doc with views into couchdb