Fixed exceptions in RS algorithm file

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

Fixes GH-43 in mozilla/jwcrypto.
Merge pull request #55 from malept/algs-exceptions

Fixed exceptions in RS algorithm file