Create unicode object, update imports

Python 3 no longer has a built-in unicode object, so this makes a new
one with the necessary static methods. Need to make the unicode object
globally recognized, look into fixing import syntax.