Make CTxIndex::vSpent private.

Make the CTxIndex::vSpent member private, and access it only via
interface functions from the outside.
Fix vSpent private merge.

Fix remaining usings of CTxIndex::vSpent in Huntercoin-specific code.
This requires adding an accessor to vSpent with disk position, to check
if the spending tx is a game tx.  This can be removed later on, though,
to allow for the actual optimisations.
Change internal vSpent data format.

Actually change the vSpent array internally to be an array of flags
instead of full tx positions.  Not yet efficiently as a bit vector,
though.
Fully rewrite txindex on upgrading blkindex.dat format.

When upgrading the blkindex.dat data format, actually fully rewrite the
txindex objects stored in it.
Fix merge from Namecoin.

Replace the version number used in the patch from Namecoin to the
correct one for Huntercoin.
Add progress print-outs to tx rewriting.
Implement tx upgrading more efficient.

Do the tx database upgrade more efficiently.  Instead of randomly
loading all spending tx's, go through the blockchain in an ordered
fashion instead.
Add progress indicator to tx index rewriting.
Bump version to 1.0.10 after other patch.
Remove doubly defined constant after rebase.
Merge pull request #45 from domob1812/vspent

Port vspent optimisation from Namecoin
Increase number of reserved BDB locks.

Increase the number of reserved BDB locks to 1,000,000 instead of
10,000.  As long as users upgrade before miners do, this shouldn't cause
a problem and will help in the future (according to db.log, this limit
is already tested from time to time).
Reduce number of initial characters during hardfork.

After the planned hardfork, only create an initial general without other
players on him.
Fix header dependency changes.