Python 2 support

Rename \_assert_not_string to \_assert_not_unicode to be more clear,
use bytearray,
check for unicode with type(u'') to support Py2 and Py3 with clarity,
add some literal prefixes for unit tests.