Feature/sign verify browser

This add support for the browser for:
 - importing pub keys in compressed format
 - signing and verifying hashes

Test for all functions added.