work towards full python3 support and deprecating support for python2

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>