Python 3 compatibility

Also included contributor credit for @pmcnr for sdouche/collective.recipe.sphinxbuilder#3.