Initial work for supporting python 3 (>= 3.3).

Signed-off-by: David Black <dblack@atlassian.com>
Merge pull request #6 from dbaxa/python_3_support

Initial work for supporting python 3 (>= 3.3).