[WIP] Python 2+3 support.

Add six, convert PY <=2.5 exception handling, dictionary iteration, libraries, remaining 7/8 test modules.