Implement verify_signature RPC


The signatures produced by `wallet_sign_hash` are somewhat useless without any way to verify them.

This patch adds a command to verify the produced signatures.