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.