always do w=3 when saving xform docs in cloudant
don't use dict as default function value
Merge branch 'master' into cz
abstract out quorum count
Merge pull request #19 from dimagi/cz

always do w=3 when saving xform docs in cloudant