Added message signing
signmessage test

Closes #1.