yotta3: start to be python 3 compatible

Syntax changes to make things python 3 compatible where possible. Remove dead tests instead of converting them.