lib/script: add helpers for creating common scripts
txmod: add --txout arg, to add new outputs to a transaction