Bug38 python3 support

The unittests run normally for python 2.7, but in python 3.2 some tests fail because of some string operations. In my opinion you should add a wrapper for unicode strings and bytes that works for both python versions. As it is right now I would have to change almost all code that works with strings and bytes to make it work and I don't think that's matter of this bug.