Add Python3 support

Minimum Python version now is 2.6