Make crypto module python3-compatible
* Remove usage of unicode() and decode the base64-encoded string in
encrypt();
* Encode the string received in decrypt() as (I supposed) it should come
from the result of encrypt().
Add tests for this module along the way.
### Requirements for tests in various cubicweb/**/test directories. ###
## shared by several test folders
cubicweb-card == 0.5.8
docutils
Twisted < 16.0.0
webtest
## cubicweb/test
Pygments
pycrypto
mock
#fyzz XXX pip install fails
cubicweb-file == 1.18.0
cubicweb-localperms == 0.3.2
cubicweb-tag == 1.8.3
## cubicweb/devtools/test
flake8
## cubicweb/hooks/test
psycopg2-binary
## cubicweb/pyramid/test
pyramid >= 1.5.0
waitress >= 0.8.9
wsgicors >= 0.3
pyramid_multiauth
repoze.lru
## cubicweb/sobject/test
cubicweb-comment == 1.12.2