Add support for python 3 by requiring python3-openid in case of python3.
Also use 2to3 in case of python3.

Fixes #18.
Fixes #19.