stake: Convert TxType constants to enum syntax.
stake: Convert TxType constants to enum syntax.

jrick/btcd,jrick/dcrd,decred/dcrd,decred/dcrd,jcmincke/dcrd,jrick/btcd,jrick/btcd,jcmincke/dcrd,jcmincke/dcrd,jrick/dcrd