Implement verifymessage RPC.

Same code as https://github.com/conformal/btcd/pull/164, with comments addressed. I messed up my git history, so it is simpler to create a new PR than repair.