Add support for the verifychain command.

So far we only do level 0 and level 1 checks (precense and basic
sanity). The checks done at higher levels in bitcoind are closely
coupled with their database layout.

arguably Closes #13
look up tx in mempool first for getrawtransaction

Closes #26