[WIP] Python 2+3.

Mostly unicode-related changes for crypto modules.