Merge pull request #10 from Lothiraldan/fix_tests

Fix tests and type error problems
Add support for expiration date verification in jwt.decode. Exp must be an int corresponding to a timestamp