Added extractpubkey rpc call, allows extraction of public key from a message and signature.

Added rpc method to extract a public key from message and signature.