REST api /pools/default/buckets/{bucketname}/ddocs implemented.