Have importprivkey use CWallet's ImportPrivKeys, ImportScripts, and ImportScriptPubKeys
Have importprivkey use CWallet's ImportPrivKeys, ImportScripts, and ImportScriptPubKeys

Behavior changes:
* If we already have the key, it's wpkh script will still be added, although it should already be there

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