Signature verification, fix keypair constructor, cleanup.

I do not like it. It's for compatibility and will change. Short story: previous signing library expects hashed bytes whereas new library doesn't supports verifying hashed bytes.