some more work on py 3.3 port

still lots of bytes vs unicode stuff to do

also some strange test fails on 2.7, please have a look