Replace naivesign with itsdangerous.

This pull request replaces `naivesign` with `itsdangerous`. The latter is written by the author of Flask and is undoubtedly more robust.