Support python 2.7 and 3.0.

Signed-off-by: david <db@d1b.org>
Have travis ci test against 3.3.

Signed-off-by: david <db@d1b.org>
Merge pull request #69 from d1b/python_3_hacking

Support python 2.7 and version >= 3.3.