This is a reworked version of #183
Adds two RPC commands:
- signmessage [address] [message]: create a base64-encoded signature string
- verifymessage [address] [signature] [message]: verify whether a signature string is valid
The signature string contains both the ECDSA pubkey and signature, to allow address-based verification. Verifymessage simply returns true or false.
This pull request also contains a full inline base64 encoded and decoder, replacing the openssl-based code. The decoder is based on JoelKatz' base64 decoder from #430.