Fix JWS hmac encoding

Signature was not base-64 encoded.
Emphasize in doc that JWS claims are public
Add doctest suite to cabal file

Also fixes Jwe doc example and README wrt API changes.