Move CMerkleTx to wallet.cpp/h

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

This implies that the current highest block has 1 confirmation and that this RPC call never returns 0. Obviously this cannot be changed (it was previously like this), but maybe one could take this chance and document this behaviour in line 245?