Feature/sign rsa

I added two methods:
* rsasign(): does the same as hmacsign, but signs using RSA
* sign(): generic sign method where the first argument is what to sign with ('RSA-SHA1' or 'HMAC-SHA1')