[tests] Make random seed logged and settable
[tests] Make random seed logged and settable

This allows tests which use randomness to be reproducibly run on failure.

alecalve/bitcoin,jamesob/bitcoin,Sjors/bitcoin,monacoinproject/monacoin,litecoin-project/litecoin,fujicoin/fujicoin,qtumproject/qtum,n1bor/bitcoin,jtimon/bitcoin,jonasschnelli/bitcoin,EthanHeilman/bitcoin,peercoin/peercoin,bitcoin/bitcoin,pstratem/bitcoin,vertcoin/vertcoin,andreaskern/bitcoin,anditto/bitcoin,pstratem/bitcoin,bitcoinsSG/bitcoin,bitcoinsSG/bitcoin,jonasschnelli/bitcoin,FeatherCoin/Feathercoin,MarcoFalke/bitcoin,jtimon/bitcoin,sipsorcery/bitcoin,ahmedbodi/vertcoin,sipsorcery/bitcoin,midnightmagic/bitcoin,CryptArc/bitcoin,bitcoin/bitcoin,apoelstra/bitcoin,rnicoll/dogecoin,AkioNak/bitcoin,CryptArc/bitcoin,domob1812/namecore,MarcoFalke/bitcoin,GroestlCoin/bitcoin,particl/particl-core,instagibbs/bitcoin,Xekyo/bitcoin,domob1812/namecore,particl/particl-core,mitchellcash/bitcoin,cdecker/bitcoin,CryptArc/bitcoin,EthanHeilman/bitcoin,practicalswift/bitcoin,litecoin-project/litecoin,Sjors/bitcoin,anditto/bitcoin,midnightmagic/bitcoin,jtimon/bitcoin,bitcoin/bitcoin,instagibbs/bitcoin,MeshCollider/bitcoin,bitcoinsSG/bitcoin,nikkitan/bitcoin,ajtowns/bitcoin,pataquets/namecoin-core,DigitalPandacoin/pandacoin,bitcoinknots/bitcoin,mm-s/bitcoin,MarcoFalke/bitcoin,andreaskern/bitcoin,JeremyRubin/bitcoin,pataquets/namecoin-core,sstone/bitcoin,namecoin/namecoin-core,prusnak/bitcoin,mitchellcash/bitcoin,kallewoof/bitcoin,bitcoinknots/bitcoin,jnewbery/bitcoin,jlopp/statoshi,lateminer/bitcoin,monacoinproject/monacoin,jamesob/bitcoin,MeshCollider/bitcoin,peercoin/peercoin,cdecker/bitcoin,ElementsProject/elements,lateminer/bitcoin,dscotese/bitcoin,JeremyRubin/bitcoin,yenliangl/bitcoin,litecoin-project/litecoin,rnicoll/bitcoin,mruddy/bitcoin,andreaskern/bitcoin,alecalve/bitcoin,Sjors/bitcoin,fujicoin/fujicoin,fanquake/bitcoin,monacoinproject/monacoin,jamesob/bitcoin,qtumproject/qtum,practicalswift/bitcoin,tecnovert/particl-core,pataquets/namecoin-core,pataquets/namecoin-core,sipsorcery/bitcoin,jamesob/bitcoin,kallewoof/bitcoin,Xekyo/bitcoin,bitcoinknots/bitcoin,Xekyo/bitcoin,GroestlCoin/bitcoin,mm-s/bitcoin,anditto/bitcoin,ajtowns/bitcoin,AkioNak/bitcoin,Sjors/bitcoin,mm-s/bitcoin,tecnovert/particl-core,mruddy/bitcoin,mruddy/bitcoin,litecoin-project/litecoin,prusnak/bitcoin,mruddy/bitcoin,instagibbs/bitcoin,ajtowns/bitcoin,ElementsProject/elements,FeatherCoin/Feathercoin,yenliangl/bitcoin,apoelstra/bitcoin,jtimon/bitcoin,monacoinproject/monacoin,sstone/bitcoin,wellenreiter01/Feathercoin,practicalswift/bitcoin,gjhiggins/vcoincore,rnicoll/bitcoin,namecoin/namecoin-core,qtumproject/qtum,MeshCollider/bitcoin,prusnak/bitcoin,lateminer/bitcoin,domob1812/bitcoin,mitchellcash/bitcoin,tecnovert/particl-core,mm-s/bitcoin,jamesob/bitcoin,ahmedbodi/vertcoin,achow101/bitcoin,monacoinproject/monacoin,AkioNak/bitcoin,jlopp/statoshi,EthanHeilman/bitcoin,namecoin/namecore,apoelstra/bitcoin,nikkitan/bitcoin,pstratem/bitcoin,Sjors/bitcoin,lateminer/bitcoin,Xekyo/bitcoin,rnicoll/bitcoin,vertcoin/vertcoin,ahmedbodi/vertcoin,mitchellcash/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,rnicoll/bitcoin,mm-s/bitcoin,kallewoof/bitcoin,pataquets/namecoin-core,DigitalPandacoin/pandacoin,jambolo/bitcoin,pstratem/bitcoin,anditto/bitcoin,domob1812/bitcoin,yenliangl/bitcoin,domob1812/bitcoin,jonasschnelli/bitcoin,EthanHeilman/bitcoin,tjps/bitcoin,GroestlCoin/GroestlCoin,namecoin/namecore,vertcoin/vertcoin,alecalve/bitcoin,nikkitan/bitcoin,andreaskern/bitcoin,practicalswift/bitcoin,bitcoin/bitcoin,sipsorcery/bitcoin,jonasschnelli/bitcoin,cdecker/bitcoin,mruddy/bitcoin,n1bor/bitcoin,alecalve/bitcoin,anditto/bitcoin,EthanHeilman/bitcoin,ElementsProject/elements,DigitalPandacoin/pandacoin,MeshCollider/bitcoin,fujicoin/fujicoin,yenliangl/bitcoin,bitcoinsSG/bitcoin,nikkitan/bitcoin,domob1812/bitcoin,ajtowns/bitcoin,JeremyRubin/bitcoin,gjhiggins/vcoincore,jamesob/bitcoin,pstratem/bitcoin,apoelstra/bitcoin,andreaskern/bitcoin,jtimon/bitcoin,fujicoin/fujicoin,achow101/bitcoin,anditto/bitcoin,dscotese/bitcoin,sstone/bitcoin,prusnak/bitcoin,instagibbs/bitcoin,sipsorcery/bitcoin,jonasschnelli/bitcoin,jnewbery/bitcoin,MeshCollider/bitcoin,jlopp/statoshi,wellenreiter01/Feathercoin,jnewbery/bitcoin,ElementsProject/elements,particl/particl-core,bitcoin/bitcoin,litecoin-project/litecoin,namecoin/namecore,qtumproject/qtum,alecalve/bitcoin,ElementsProject/elements,GroestlCoin/bitcoin,rnicoll/dogecoin,jambolo/bitcoin,cdecker/bitcoin,domob1812/bitcoin,jambolo/bitcoin,dscotese/bitcoin,nikkitan/bitcoin,kallewoof/bitcoin,apoelstra/bitcoin,dscotese/bitcoin,qtumproject/qtum,bitcoinknots/bitcoin,fujicoin/fujicoin,peercoin/peercoin,lateminer/bitcoin,MarcoFalke/bitcoin,jambolo/bitcoin,ahmedbodi/vertcoin,lateminer/bitcoin,prusnak/bitcoin,jnewbery/bitcoin,JeremyRubin/bitcoin,ahmedbodi/vertcoin,cdecker/bitcoin,jambolo/bitcoin,FeatherCoin/Feathercoin,peercoin/peercoin,rnicoll/dogecoin,bitcoinsSG/bitcoin,jlopp/statoshi,fanquake/bitcoin,domob1812/namecore,wellenreiter01/Feathercoin,ajtowns/bitcoin,FeatherCoin/Feathercoin,GroestlCoin/bitcoin,andreaskern/bitcoin,EthanHeilman/bitcoin,jlopp/statoshi,practicalswift/bitcoin,rnicoll/dogecoin,particl/particl-core,jambolo/bitcoin,mm-s/bitcoin,midnightmagic/bitcoin,sstone/bitcoin,GroestlCoin/GroestlCoin,gjhiggins/vcoincore,wellenreiter01/Feathercoin,tjps/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin,rnicoll/bitcoin,CryptArc/bitcoin,peercoin/peercoin,tjps/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,kallewoof/bitcoin,DigitalPandacoin/pandacoin,midnightmagic/bitcoin,n1bor/bitcoin,tecnovert/particl-core,wellenreiter01/Feathercoin,nikkitan/bitcoin,yenliangl/bitcoin,namecoin/namecoin-core,achow101/bitcoin,FeatherCoin/Feathercoin,sipsorcery/bitcoin,pstratem/bitcoin,tjps/bitcoin,tecnovert/particl-core,rnicoll/dogecoin,vertcoin/vertcoin,domob1812/namecore,alecalve/bitcoin,fanquake/bitcoin,tjps/bitcoin,fanquake/bitcoin,GroestlCoin/bitcoin,achow101/bitcoin,Xekyo/bitcoin,qtumproject/qtum,AkioNak/bitcoin,JeremyRubin/bitcoin,ajtowns/bitcoin,CryptArc/bitcoin,MarcoFalke/bitcoin,cdecker/bitcoin,achow101/bitcoin,MarcoFalke/bitcoin,achow101/bitcoin,domob1812/namecore,GroestlCoin/GroestlCoin,gjhiggins/vcoincore,sstone/bitcoin,apoelstra/bitcoin,namecoin/namecoin-core,rnicoll/bitcoin,JeremyRubin/bitcoin,domob1812/bitcoin,yenliangl/bitcoin,practicalswift/bitcoin,AkioNak/bitcoin,midnightmagic/bitcoin,AkioNak/bitcoin,instagibbs/bitcoin,vertcoin/vertcoin,jtimon/bitcoin,fujicoin/fujicoin,instagibbs/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,monacoinproject/monacoin,n1bor/bitcoin,vertcoin/vertcoin,domob1812/namecore,tecnovert/particl-core,wellenreiter01/Feathercoin,namecoin/namecore,jnewbery/bitcoin,namecoin/namecore,dscotese/bitcoin,FeatherCoin/Feathercoin,namecoin/namecoin-core,bitcoin/bitcoin,sstone/bitcoin,tjps/bitcoin,gjhiggins/vcoincore,qtumproject/qtum,dscotese/bitcoin,DigitalPandacoin/pandacoin,kallewoof/bitcoin,peercoin/peercoin,ahmedbodi/vertcoin,gjhiggins/vcoincore,mitchellcash/bitcoin,n1bor/bitcoin,ElementsProject/elements,mitchellcash/bitcoin,jlopp/statoshi,mruddy/bitcoin,particl/particl-core,MeshCollider/bitcoin,fanquake/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/GroestlCoin,Xekyo/bitcoin,CryptArc/bitcoin,litecoin-project/litecoin,particl/particl-core,namecoin/namecoin-core,DigitalPandacoin/pandacoin,n1bor/bitcoin,midnightmagic/bitcoin