Refactor url segment handling in couchdb module.
Use --header long option rather than -H short option in couchdb module.
Use --progress-bar long option rather than -# short option in couchdb
module.
Add stub delegate command for the query command set.