Revise and add the modules aes, base64, hex, md5, thotp, z85, zeromq.

This commit includes tests and some examples.
Fixed some memory leaks.