Add new funcs for creating payment scripts.
Add new funcs for creating payment scripts.

This commit adds two new functions named PayToScriptHashScript and
PayToAddrScript.  The first one creates and returns a public-key script
which pays to the provided script hash and conforms to BIP0016.

The second function takes the new btcutil.Address interface type and
returns an appropriate script to pay to the address type in the interface.
It currently works for btcutil.AddressPubKeyHash and
btcutil.AddressScriptHash.

glv2/ppcd,ltcsuite/ltcd,jrick/dcrd,runeaune/btcd,stevenroose/btcd,glv2/ppcd,BitGo/prova,wallclockbuilder/btcd,CryptocurrencyCabal/htcd,ppcsuite/ppcd,dajohi/btcd,DanielKrawisz/btcd,dajohi/btcd,Roasbeef/btcd,Stash-Crypto/btcd,jrick/btcd,jongillham/btcd,hectorj/btcd,Dirbaio/btcd,qchain/btcd,pkothbauer/btcd,dan-da/btcd,jrick/btcd,jimmysong/btcd,toddfries/btcd,danoctavian/btcd,wallclockbuilder/btcd,1d4Nf6/btcd,stevenroose/btcd,Dirbaio/btcd,jimmysong/btcd,DanielKrawisz/btcd,btcsuite/btcd,cjepson/btcd,jrick/btcd,davecgh/btcd,ppcsuite/ppcd-old,ppcsuite/ppcd-old,jrick/dcrd,cqswxj2013/btcd,jcmincke/dcrd,Cleawing/btcd,jongillham/btcd,runeaune/btcd,jcmincke/dcrd,hectorj/btcd,sysbot/btcd,CryptocurrencyCabal/htcd,adiabat/btcd,qchain/btcd,1d4Nf6/btcd,tb00/btcd,decred/dcrd,BitGo/prova,FactomProject/btcd,adiabat/btcd,davecgh/btcd,Dirbaio/btcd,mathiasrw/btcd,FactomProject/btcd,aakselrod/btcd,btcsuitereleases/btcd,Cleawing/btcd,toddfries/btcd,dan-da/btcd,mathiasrw/btcd,sysbot/btcd,aakselrod/btcd,tb00/btcd,ppcsuite/ppcd,btcsuitereleases/btcd,jcmincke/dcrd,soapboxsys/ombfullnode,cqswxj2013/btcd,Roasbeef/btcd,danoctavian/btcd,decred/dcrd,cjepson/btcd,btcsuite/btcd,soapboxsys/ombfullnode,dajohi/btcd,pkothbauer/btcd,ltcsuite/ltcd,Stash-Crypto/btcd