Updateto python 3.3

Changes needed in imports and string handeling. Python 3.3 automatically
works with unicode.