Namecoin testnet beta

I would like to create a new branch on namecoin/libcoin. The branch would be namecoin-testnet-beta, the beta part is to indicate that it still uses some hacks to let it sync.
Maybe some of this code can be shared with the `NamecoinChain` class?