Add Python 3 suport and drop support for Python 2.5