Python 3 support

Regress tests (pull from jBCrypt)

$Id$
