Name bug fix.
Hard-fork is set to happen at block 150000 (~76 days from now). Before that bad name_* transactions are allowed, but won't be processed (i.e. won't be saved to name DB). After that they will be rejected, as well as blocks containing them.

At first start nameindexfull.dat will be rescanned (slow - be patient). If something goes wrong, delete it to force another rescan.
nameindexfull.dat is checked by version (rescanned if below 0.3.72).

Conflicts:
	namecoin-qt.pro
	src/namecoin.cpp
	src/serialize.h
Small amendment to the code, otherwise won't compile.
Making constructor/destructor of CDB public, so init.cpp can check name DB version without dependency on namecoin.h.
1. Fix rescan so that if there is an error during rescan it will not leave an incomplete database
2. Fix rescan so that it does not try to add every name in a single transaction.
mistake in makefile and need to close db after rehashing

Conflicts:
	src/Makefile
An improved patch.

1. Added check that previous tx was good. Otherwise, while bad tx is rejected, bad on top of bad would be accepted, since the name matches.
This however degrades the performance slightly (additional access to name db).

2. Renamed nameindexfull.dat to nameindex.dat. Hopefully this would fix the rescan crash issue of the previous commit.
nameindex.dat was used in some older version though. When we agree the patch is final, we should rename to e.g. namedb.dat and make another commit.

Conflicts:
	src/namecoin.cpp
Fix compilation problem due to differences between master/namecoin-qt
Adapt cjdelisle patch to work with commit 753336a4eb - "An improved patch"
An important update to the patch
Revert changes done on nameindex by commit 4c2f333
Merge branch 'khalahan/master' into 'namecoin/master'