Add support for python 3 ( >= 3.3) while keeping support for python 2.7.x



Signed-off-by: David Black <dblack@atlassian.com>