* barbican_manage.py: only decode bytes, not Unicode.
six.string_types is str (Unicode) on Python 3.
* Replace long(1) with 1
* test_transport_keys_resource: decode HTTP body from UTF-8 to get
Unicode.
* Replace ord(bytes[-1]) with ord(bytes[-1:]). On Python 3,
bytes[int] returns an integer: use bytes[int:int] to get a
substring.
* Remove following tests from tests-py3-blacklist.txt:
- crypto.test_pkcs11
- test_barbican_manage
- test_transport_keys_resource
Partially implements: blueprint barbican-py3
Change-Id: I9189ac4106d05001ee0aee1299d100dd0d56bce0