chaingen: Export vote commitment script function.
chaingen: Export vote commitment script function.

This exports the VoteCommitmentScript function so callers can make use
of it to create new vote commitment scripts.

decred/dcrd,jrick/dcrd,decred/dcrd,jrick/dcrd