First stab at supporting a Py3 build.  It's still not working quite right thanks
to the Py24 compatability layer, but it's close.