Changes to allow using nettle instead of libtomcrypt

That allows stoken to be compiled using nettle instead of libtomcrypt. In addition a small test suite is added.