pyqi driver py3 fixes, and tox fixes