Migrate the couchdb design documents during webapp deploy (#1976)