Move CMerkleTx to wallet.cpp/h

It is only used by the wallet so it has no place in main.