Fixed exceptions in RS algorithm file

I don't see an obvious way to convert an issue into a pull request, so...

Implemented exception referenced in RS algorithm file.
Removed duplicate declaration of an exception.

Fixes GH-43 in mozilla/jwcrypto.