Fix an issue causing excessive memory consumption.
Fix an issue causing excessive memory consumption.

This commit resolves an issue where the block node index was forcing
entire blocks to be kept in memory thereby forcing excessive memory usage.
For example, prior to this change, the memory usage could consume upwards
of 1.5GB while importing bootstrap.dat via the addblock utility.  With
this change the entire import takes <150MB.  This also has the same memory
reduction to btcd since it uses the same code path.

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