This was partial work to go to python3, but I've now since learned that
going twisted is not the way I want to work for web frameworks, so a
large amount of this code will be dropped (kleintest.py) or rewritten..
as part of this work, also uplifted automatic promotion of uuid
to a UUID object...
add encode/decode methods to MDBase to make things more simple
when handling serialization...