Remove nFileVersion from CWalletScanState
Remove nFileVersion from CWalletScanState

nFileVersion is not the actual file version and is not used except
in one place. So it is removed from CWalletScanState and changed so
that it is just read at the place it is needed. Furthermore, the
"version" record now only indicates the version of the highest
versioned client that has opened a wallet file so the variable
name is changed accordingly

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