Update for sage 6.0: remove the bitset_pxd.pxi import (see http://trac.sagemath.org/ticket/13352)
Update for sage 6.0: heed deprecation warning for using p.list() to get permutation in list form.  See http://trac.sagemath.org/ticket/14319.