Added validation of signed token claims, plus options to turn validation off.
Fixed the error handing to use raise not throw, and added some claim validation tests.