added script to create or update couchdb design doc