Add Python3 support.
Code now builds with both Python2 and Python3. There are some macro that handle differences which makes it a bit messy, eventually we should abandond Python2 and remove all that cruft. Unit test runs OK in both versions.
Code now builds with both Python2 and Python3. There are some macro that handle differences which makes it a bit messy, eventually we should abandond Python2 and remove all that cruft. Unit test runs OK in both versions.