[test] Add bitcoin-cli -stdin and -stdinrpcpass functional tests
[test] Add bitcoin-cli -stdin and -stdinrpcpass functional tests

apoelstra/bitcoin,MarcoFalke/bitcoin,instagibbs/bitcoin,rnicoll/dogecoin,myriadcoin/myriadcoin,alecalve/bitcoin,droark/bitcoin,starwels/starwels,midnightmagic/bitcoin,laudaa/bitcoin,instagibbs/bitcoin,FeatherCoin/Feathercoin,mm-s/bitcoin,TheBlueMatt/bitcoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,TheBlueMatt/bitcoin,jmcorgan/bitcoin,kazcw/bitcoin,domob1812/huntercore,stamhe/bitcoin,prusnak/bitcoin,MeshCollider/bitcoin,BTCGPU/BTCGPU,mb300sd/bitcoin,DigitalPandacoin/pandacoin,cryptoprojects/ultimateonlinecash,particl/particl-core,namecoin/namecore,cryptoprojects/ultimateonlinecash,pataquets/namecoin-core,ElementsProject/elements,nikkitan/bitcoin,peercoin/peercoin,alecalve/bitcoin,vertcoin/vertcoin,alecalve/bitcoin,mruddy/bitcoin,andreaskern/bitcoin,guncoin/guncoin,midnightmagic/bitcoin,donaloconnor/bitcoin,dscotese/bitcoin,lbryio/lbrycrd,kallewoof/bitcoin,achow101/bitcoin,RHavar/bitcoin,jonasschnelli/bitcoin,lateminer/bitcoin,Bushstar/UFO-Project,viacoin/viacoin,1185/starwels,OmniLayer/omnicore,mitchellcash/bitcoin,instagibbs/bitcoin,BTCGPU/BTCGPU,afk11/bitcoin,jmcorgan/bitcoin,MeshCollider/bitcoin,laudaa/bitcoin,sstone/bitcoin,domob1812/bitcoin,droark/bitcoin,practicalswift/bitcoin,guncoin/guncoin,MazaCoin/maza,Rav3nPL/bitcoin,domob1812/namecore,andreaskern/bitcoin,jonasschnelli/bitcoin,alecalve/bitcoin,instagibbs/bitcoin,yenliangl/bitcoin,litecoin-project/litecoin,trippysalmon/bitcoin,GlobalBoost/GlobalBoost,peercoin/peercoin,dscotese/bitcoin,achow101/bitcoin,MazaCoin/maza,bitcoinknots/bitcoin,fujicoin/fujicoin,peercoin/peercoin,starwels/starwels,Bushstar/UFO-Project,fanquake/bitcoin,Kogser/bitcoin,randy-waterhouse/bitcoin,jlopp/statoshi,jamesob/bitcoin,Gazer022/bitcoin,midnightmagic/bitcoin,GlobalBoost/GlobalBoost,practicalswift/bitcoin,gjhiggins/vcoincore,peercoin/peercoin,ahmedbodi/vertcoin,mm-s/bitcoin,maaku/bitcoin,brandonrobertz/namecoin-core,kallewoof/bitcoin,Gazer022/bitcoin,afk11/bitcoin,andreaskern/bitcoin,jtimon/bitcoin,pstratem/bitcoin,r8921039/bitcoin,globaltoken/globaltoken,h4x3rotab/BTCGPU,kallewoof/bitcoin,Rav3nPL/bitcoin,jlopp/statoshi,gmaxwell/bitcoin,sipsorcery/bitcoin,ElementsProject/elements,h4x3rotab/BTCGPU,namecoin/namecore,thrasher-/litecoin,BTCGPU/BTCGPU,fujicoin/fujicoin,mitchellcash/bitcoin,sstone/bitcoin,mitchellcash/bitcoin,laudaa/bitcoin,prusnak/bitcoin,rawodb/bitcoin,Kogser/bitcoin,lbryio/lbrycrd,rnicoll/bitcoin,particl/particl-core,GroestlCoin/GroestlCoin,Flowdalic/bitcoin,thrasher-/litecoin,myriadcoin/myriadcoin,peercoin/peercoin,maaku/bitcoin,maaku/bitcoin,lbryio/lbrycrd,droark/bitcoin,lbryio/lbrycrd,ahmedbodi/vertcoin,ElementsProject/elements,pstratem/bitcoin,midnightmagic/bitcoin,GlobalBoost/GlobalBoost,pstratem/bitcoin,tecnovert/particl-core,qtumproject/qtum,n1bor/bitcoin,GroestlCoin/GroestlCoin,ericshawlinux/bitcoin,digibyte/digibyte,sstone/bitcoin,vmp32k/litecoin,tjps/bitcoin,Gazer022/bitcoin,mitchellcash/bitcoin,Xekyo/bitcoin,Kogser/bitcoin,globaltoken/globaltoken,domob1812/huntercore,OmniLayer/omnicore,TheBlueMatt/bitcoin,Flowdalic/bitcoin,pstratem/bitcoin,GlobalBoost/GlobalBoost,myriadteam/myriadcoin,GroestlCoin/GroestlCoin,anditto/bitcoin,cryptoprojects/ultimateonlinecash,ajtowns/bitcoin,bitcoinsSG/bitcoin,kallewoof/bitcoin,Rav3nPL/bitcoin,Xekyo/bitcoin,JeremyRubin/bitcoin,vmp32k/litecoin,laudaa/bitcoin,sstone/bitcoin,starwels/starwels,jmcorgan/bitcoin,gmaxwell/bitcoin,achow101/bitcoin,ericshawlinux/bitcoin,MarcoFalke/bitcoin,domob1812/bitcoin,Kogser/bitcoin,jnewbery/bitcoin,brandonrobertz/namecoin-core,vertcoin/vertcoin,GroestlCoin/bitcoin,nikkitan/bitcoin,trippysalmon/bitcoin,r8921039/bitcoin,bitcoinsSG/bitcoin,namecoin/namecore,tecnovert/particl-core,RHavar/bitcoin,rawodb/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,domob1812/bitcoin,myriadteam/myriadcoin,randy-waterhouse/bitcoin,jambolo/bitcoin,monacoinproject/monacoin,r8921039/bitcoin,RHavar/bitcoin,cdecker/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,GlobalBoost/GlobalBoost,BTCGPU/BTCGPU,joshrabinowitz/bitcoin,ajtowns/bitcoin,Kogser/bitcoin,deeponion/deeponion,cdecker/bitcoin,tecnovert/particl-core,cryptoprojects/ultimateonlinecash,ajtowns/bitcoin,gjhiggins/vcoincore,wellenreiter01/Feathercoin,sarielsaz/sarielsaz,nbenoit/bitcoin,nbenoit/bitcoin,donaloconnor/bitcoin,CryptArc/bitcoin,rnicoll/bitcoin,anditto/bitcoin,MeshCollider/bitcoin,nbenoit/bitcoin,sebrandon1/bitcoin,pataquets/namecoin-core,Bushstar/UFO-Project,litecoin-project/litecoin,brandonrobertz/namecoin-core,cdecker/bitcoin,BTCGPU/BTCGPU,thrasher-/litecoin,Bushstar/UFO-Project,RHavar/bitcoin,21E14/bitcoin,ElementsProject/elements,Flowdalic/bitcoin,Christewart/bitcoin,h4x3rotab/BTCGPU,mitchellcash/bitcoin,myriadteam/myriadcoin,deeponion/deeponion,guncoin/guncoin,domob1812/namecore,jtimon/bitcoin,myriadteam/myriadcoin,tjps/bitcoin,ahmedbodi/vertcoin,Christewart/bitcoin,ppcoin/ppcoin,FeatherCoin/Feathercoin,jambolo/bitcoin,stamhe/bitcoin,pstratem/bitcoin,jambolo/bitcoin,MarcoFalke/bitcoin,wellenreiter01/Feathercoin,MazaCoin/maza,qtumproject/qtum,ahmedbodi/vertcoin,MeshCollider/bitcoin,FeatherCoin/Feathercoin,deeponion/deeponion,jamesob/bitcoin,Kogser/bitcoin,paveljanik/bitcoin,OmniLayer/omnicore,namecoin/namecore,ElementsProject/elements,wellenreiter01/Feathercoin,pataquets/namecoin-core,domob1812/bitcoin,n1bor/bitcoin,thrasher-/litecoin,Flowdalic/bitcoin,lateminer/bitcoin,untrustbank/litecoin,peercoin/peercoin,myriadcoin/myriadcoin,jmcorgan/bitcoin,bitcoinsSG/bitcoin,mruddy/bitcoin,untrustbank/litecoin,gjhiggins/vcoincore,Xekyo/bitcoin,prusnak/bitcoin,randy-waterhouse/bitcoin,bitcoin/bitcoin,EthanHeilman/bitcoin,MazaCoin/maza,domob1812/huntercore,fanquake/bitcoin,DigitalPandacoin/pandacoin,rnicoll/bitcoin,tecnovert/particl-core,sarielsaz/sarielsaz,droark/bitcoin,bespike/litecoin,BTCGPU/BTCGPU,gjhiggins/vcoincore,globaltoken/globaltoken,kazcw/bitcoin,litecoin-project/litecoin,sipsorcery/bitcoin,jonasschnelli/bitcoin,lbryio/lbrycrd,afk11/bitcoin,ajtowns/bitcoin,joshrabinowitz/bitcoin,Christewart/bitcoin,MazaCoin/maza,OmniLayer/omnicore,gmaxwell/bitcoin,sipsorcery/bitcoin,thrasher-/litecoin,viacoin/viacoin,viacoin/viacoin,stamhe/bitcoin,bitcoinknots/bitcoin,GlobalBoost/GlobalBoost,Xekyo/bitcoin,ryanofsky/bitcoin,sebrandon1/bitcoin,MarcoFalke/bitcoin,lateminer/bitcoin,alecalve/bitcoin,ryanofsky/bitcoin,fanquake/bitcoin,Flowdalic/bitcoin,Sjors/bitcoin,Christewart/bitcoin,brandonrobertz/namecoin-core,practicalswift/bitcoin,mb300sd/bitcoin,JeremyRubin/bitcoin,starwels/starwels,dscotese/bitcoin,yenliangl/bitcoin,yenliangl/bitcoin,kallewoof/bitcoin,pataquets/namecoin-core,jamesob/bitcoin,AkioNak/bitcoin,domob1812/namecore,21E14/bitcoin,mitchellcash/bitcoin,namecoin/namecoin-core,domob1812/namecore,GroestlCoin/GroestlCoin,DigitalPandacoin/pandacoin,TheBlueMatt/bitcoin,CryptArc/bitcoin,MarcoFalke/bitcoin,jtimon/bitcoin,prusnak/bitcoin,monacoinproject/monacoin,mm-s/bitcoin,1185/starwels,joshrabinowitz/bitcoin,cdecker/bitcoin,rnicoll/bitcoin,qtumproject/qtum,brandonrobertz/namecoin-core,Gazer022/bitcoin,MeshCollider/bitcoin,wellenreiter01/Feathercoin,litecoin-project/litecoin,rnicoll/dogecoin,Christewart/bitcoin,sebrandon1/bitcoin,apoelstra/bitcoin,qtumproject/qtum,sstone/bitcoin,domob1812/huntercore,ryanofsky/bitcoin,vertcoin/vertcoin,maaku/bitcoin,donaloconnor/bitcoin,ericshawlinux/bitcoin,bespike/litecoin,prusnak/bitcoin,droark/bitcoin,bitcoin/bitcoin,joshrabinowitz/bitcoin,jlopp/statoshi,bespike/litecoin,trippysalmon/bitcoin,1185/starwels,pataquets/namecoin-core,trippysalmon/bitcoin,myriadcoin/myriadcoin,TheBlueMatt/bitcoin,AkioNak/bitcoin,RHavar/bitcoin,lbryio/lbrycrd,CryptArc/bitcoin,OmniLayer/omnicore,monacoinproject/monacoin,digibyte/digibyte,tjps/bitcoin,h4x3rotab/BTCGPU,ryanofsky/bitcoin,jambolo/bitcoin,mruddy/bitcoin,practicalswift/bitcoin,donaloconnor/bitcoin,vertcoin/vertcoin,nikkitan/bitcoin,globaltoken/globaltoken,n1bor/bitcoin,jambolo/bitcoin,stamhe/bitcoin,yenliangl/bitcoin,DigitalPandacoin/pandacoin,bespike/litecoin,ppcoin/ppcoin,Kogser/bitcoin,TheBlueMatt/bitcoin,domob1812/huntercore,ericshawlinux/bitcoin,rawodb/bitcoin,1185/starwels,DigitalPandacoin/pandacoin,paveljanik/bitcoin,rnicoll/bitcoin,EthanHeilman/bitcoin,donaloconnor/bitcoin,nikkitan/bitcoin,untrustbank/litecoin,pstratem/bitcoin,tjps/bitcoin,jtimon/bitcoin,mb300sd/bitcoin,mm-s/bitcoin,jnewbery/bitcoin,andreaskern/bitcoin,digibyte/digibyte,lateminer/bitcoin,bitcoinknots/bitcoin,GroestlCoin/bitcoin,paveljanik/bitcoin,r8921039/bitcoin,Rav3nPL/bitcoin,nikkitan/bitcoin,droark/bitcoin,mb300sd/bitcoin,CryptArc/bitcoin,myriadcoin/myriadcoin,gjhiggins/vcoincore,globaltoken/globaltoken,mm-s/bitcoin,lbryio/lbrycrd,practicalswift/bitcoin,21E14/bitcoin,tjps/bitcoin,domob1812/huntercore,n1bor/bitcoin,Xekyo/bitcoin,domob1812/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,cdecker/bitcoin,brandonrobertz/namecoin-core,monacoinproject/monacoin,kazcw/bitcoin,rawodb/bitcoin,mruddy/bitcoin,Bushstar/UFO-Project,deeponion/deeponion,monacoinproject/monacoin,rnicoll/dogecoin,jamesob/bitcoin,namecoin/namecoin-core,andreaskern/bitcoin,GlobalBoost/GlobalBoost,kazcw/bitcoin,practicalswift/bitcoin,h4x3rotab/BTCGPU,kazcw/bitcoin,starwels/starwels,sipsorcery/bitcoin,starwels/starwels,sebrandon1/bitcoin,MeshCollider/bitcoin,JeremyRubin/bitcoin,vmp32k/litecoin,fanquake/bitcoin,fujicoin/fujicoin,nbenoit/bitcoin,apoelstra/bitcoin,fanquake/bitcoin,sarielsaz/sarielsaz,digibyte/digibyte,ryanofsky/bitcoin,jnewbery/bitcoin,guncoin/guncoin,Kogser/bitcoin,ryanofsky/bitcoin,ericshawlinux/bitcoin,CryptArc/bitcoin,Bushstar/UFO-Project,bitcoin/bitcoin,ahmedbodi/vertcoin,Gazer022/bitcoin,vertcoin/vertcoin,r8921039/bitcoin,21E14/bitcoin,digibyte/digibyte,mruddy/bitcoin,myriadteam/myriadcoin,rawodb/bitcoin,namecoin/namecore,EthanHeilman/bitcoin,rnicoll/dogecoin,Sjors/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,untrustbank/litecoin,anditto/bitcoin,namecoin/namecoin-core,GroestlCoin/bitcoin,jnewbery/bitcoin,guncoin/guncoin,thrasher-/litecoin,midnightmagic/bitcoin,FeatherCoin/Feathercoin,MazaCoin/maza,ahmedbodi/vertcoin,digibyte/digibyte,vertcoin/vertcoin,deeponion/deeponion,anditto/bitcoin,CryptArc/bitcoin,bitcoinknots/bitcoin,jlopp/statoshi,GroestlCoin/bitcoin,MarcoFalke/bitcoin,nbenoit/bitcoin,sarielsaz/sarielsaz,jnewbery/bitcoin,gmaxwell/bitcoin,mm-s/bitcoin,apoelstra/bitcoin,particl/particl-core,Kogser/bitcoin,alecalve/bitcoin,vmp32k/litecoin,sarielsaz/sarielsaz,ElementsProject/elements,anditto/bitcoin,instagibbs/bitcoin,deeponion/deeponion,jmcorgan/bitcoin,trippysalmon/bitcoin,tjps/bitcoin,Xekyo/bitcoin,afk11/bitcoin,sarielsaz/sarielsaz,afk11/bitcoin,maaku/bitcoin,r8921039/bitcoin,GroestlCoin/bitcoin,laudaa/bitcoin,stamhe/bitcoin,EthanHeilman/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,rawodb/bitcoin,midnightmagic/bitcoin,apoelstra/bitcoin,Kogser/bitcoin,Rav3nPL/bitcoin,1185/starwels,achow101/bitcoin,untrustbank/litecoin,apoelstra/bitcoin,particl/particl-core,FeatherCoin/Feathercoin,vmp32k/litecoin,jtimon/bitcoin,wellenreiter01/Feathercoin,wellenreiter01/Feathercoin,jlopp/statoshi,sebrandon1/bitcoin,jmcorgan/bitcoin,randy-waterhouse/bitcoin,particl/particl-core,randy-waterhouse/bitcoin,viacoin/viacoin,21E14/bitcoin,DigitalPandacoin/pandacoin,FeatherCoin/Feathercoin,EthanHeilman/bitcoin,bespike/litecoin,ppcoin/ppcoin,achow101/bitcoin,myriadcoin/myriadcoin,bitcoinsSG/bitcoin,tecnovert/particl-core,donaloconnor/bitcoin,namecoin/namecoin-core,yenliangl/bitcoin,GroestlCoin/GroestlCoin,domob1812/namecore,guncoin/guncoin,OmniLayer/omnicore,AkioNak/bitcoin,stamhe/bitcoin,jamesob/bitcoin,JeremyRubin/bitcoin,pataquets/namecoin-core,jtimon/bitcoin,viacoin/viacoin,21E14/bitcoin,domob1812/namecore,domob1812/bitcoin,gmaxwell/bitcoin,afk11/bitcoin,lateminer/bitcoin,bespike/litecoin,mb300sd/bitcoin,randy-waterhouse/bitcoin,paveljanik/bitcoin,kallewoof/bitcoin,jonasschnelli/bitcoin,achow101/bitcoin,gmaxwell/bitcoin,Rav3nPL/bitcoin,sstone/bitcoin,nbenoit/bitcoin,rnicoll/dogecoin,bitcoinknots/bitcoin,gjhiggins/vcoincore,fujicoin/fujicoin,Sjors/bitcoin,kazcw/bitcoin,EthanHeilman/bitcoin,qtumproject/qtum,dscotese/bitcoin,Christewart/bitcoin,myriadteam/myriadcoin,Kogser/bitcoin,mruddy/bitcoin,instagibbs/bitcoin,n1bor/bitcoin,qtumproject/qtum,joshrabinowitz/bitcoin,viacoin/viacoin,globaltoken/globaltoken,AkioNak/bitcoin,cryptoprojects/ultimateonlinecash,particl/particl-core,sebrandon1/bitcoin,monacoinproject/monacoin,maaku/bitcoin,rnicoll/bitcoin,prusnak/bitcoin,qtumproject/qtum,joshrabinowitz/bitcoin,litecoin-project/litecoin,Sjors/bitcoin,mb300sd/bitcoin,trippysalmon/bitcoin,paveljanik/bitcoin,ericshawlinux/bitcoin,sipsorcery/bitcoin,cryptoprojects/ultimateonlinecash,dscotese/bitcoin,JeremyRubin/bitcoin,paveljanik/bitcoin,RHavar/bitcoin,jamesob/bitcoin,anditto/bitcoin,n1bor/bitcoin,AkioNak/bitcoin,fujicoin/fujicoin,namecoin/namecoin-core,bitcoinsSG/bitcoin,laudaa/bitcoin,Gazer022/bitcoin,vmp32k/litecoin,bitcoinsSG/bitcoin,Flowdalic/bitcoin,yenliangl/bitcoin,lateminer/bitcoin,nikkitan/bitcoin,ppcoin/ppcoin,litecoin-project/litecoin,1185/starwels,jambolo/bitcoin,namecoin/namecore,fanquake/bitcoin,h4x3rotab/BTCGPU,dscotese/bitcoin,ajtowns/bitcoin,JeremyRubin/bitcoin,Kogser/bitcoin,untrustbank/litecoin,ajtowns/bitcoin,fujicoin/fujicoin,jonasschnelli/bitcoin,Sjors/bitcoin