Update requirements for Python 3.
Use str instead of unicode in models.
Fix remaining bugs in unicode to str renaming.