add the RS256 alg

Also includes general support for non-HMAC algorithms

I decided to make the changes for #6 myself so I can use this lib ASAP.