Altered the gdb python pretty-printers to be compatible with python3 too (see https://github.com/eranif/codelite/issues/433)

This involved using the utility 2to3, which made it work for python3 but not python2. Fixed by providing separate python3 __next__() functions that just call the corresponding python2 next().