Update phpbb.py

Ported to python2 and added some functions