Factor out some multisig controller functionality into dwutil/multisig.